@technicity/openapi-sdk-generator 5.11.0 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generate-remix.js +2 -2
- package/package.json +18 -18
- package/src/generate-remix.ts +2 -2
package/dist/generate-remix.js
CHANGED
|
@@ -273,7 +273,7 @@ function getCode({ results, baseUrl, generateOrThrow, env, excludeFetchImport, }
|
|
|
273
273
|
|
|
274
274
|
${env === "node"
|
|
275
275
|
? `(reqOpts as any).dispatcher = new RetryAgent(new Agent(), {
|
|
276
|
-
maxRetries:
|
|
276
|
+
maxRetries: 8,
|
|
277
277
|
methods: ["GET", "HEAD", "OPTIONS"],
|
|
278
278
|
});`
|
|
279
279
|
: ""}
|
|
@@ -399,7 +399,7 @@ function getCode({ results, baseUrl, generateOrThrow, env, excludeFetchImport, }
|
|
|
399
399
|
|
|
400
400
|
${env === "node"
|
|
401
401
|
? `(reqOpts as any).dispatcher = new RetryAgent(new Agent(), {
|
|
402
|
-
maxRetries:
|
|
402
|
+
maxRetries: 8,
|
|
403
403
|
methods: ["GET", "HEAD", "OPTIONS"],
|
|
404
404
|
});`
|
|
405
405
|
: ""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@technicity/openapi-sdk-generator",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -14,25 +14,25 @@
|
|
|
14
14
|
"preversion": "npm run compile"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@apidevtools/swagger-parser": "
|
|
17
|
+
"@apidevtools/swagger-parser": "10.1.0",
|
|
18
18
|
"@openapi-contrib/openapi-schema-to-json-schema": "3.1.1",
|
|
19
|
-
"@types/fs-extra": "
|
|
20
|
-
"@types/node": "
|
|
21
|
-
"ajv": "
|
|
19
|
+
"@types/fs-extra": "9.0.13",
|
|
20
|
+
"@types/node": "17.0.21",
|
|
21
|
+
"ajv": "8.10.0",
|
|
22
22
|
"commander": "2.15.0",
|
|
23
|
-
"del": "
|
|
24
|
-
"fs-extra": "
|
|
23
|
+
"del": "6.0.0",
|
|
24
|
+
"fs-extra": "10.0.1",
|
|
25
25
|
"json-schema-to-typescript": "10.1.4",
|
|
26
|
-
"json-schema-traverse": "
|
|
27
|
-
"json-ts": "
|
|
28
|
-
"lodash": "
|
|
29
|
-
"node-fetch": "
|
|
30
|
-
"openapi-types": "
|
|
31
|
-
"param-case": "
|
|
32
|
-
"pascal-case": "
|
|
33
|
-
"path-to-regexp": "
|
|
34
|
-
"prepend-file": "
|
|
35
|
-
"prettier": "
|
|
36
|
-
"typescript": "
|
|
26
|
+
"json-schema-traverse": "1.0.0",
|
|
27
|
+
"json-ts": "1.6.4",
|
|
28
|
+
"lodash": "4.17.21",
|
|
29
|
+
"node-fetch": "2.6.0",
|
|
30
|
+
"openapi-types": "9.3.0",
|
|
31
|
+
"param-case": "3.0.4",
|
|
32
|
+
"pascal-case": "3.1.2",
|
|
33
|
+
"path-to-regexp": "6.2.0",
|
|
34
|
+
"prepend-file": "1.3.1",
|
|
35
|
+
"prettier": "2.5.1",
|
|
36
|
+
"typescript": "4.6.2"
|
|
37
37
|
}
|
|
38
38
|
}
|
package/src/generate-remix.ts
CHANGED
|
@@ -313,7 +313,7 @@ function getCode({
|
|
|
313
313
|
${
|
|
314
314
|
env === "node"
|
|
315
315
|
? `(reqOpts as any).dispatcher = new RetryAgent(new Agent(), {
|
|
316
|
-
maxRetries:
|
|
316
|
+
maxRetries: 8,
|
|
317
317
|
methods: ["GET", "HEAD", "OPTIONS"],
|
|
318
318
|
});`
|
|
319
319
|
: ""
|
|
@@ -442,7 +442,7 @@ function getCode({
|
|
|
442
442
|
${
|
|
443
443
|
env === "node"
|
|
444
444
|
? `(reqOpts as any).dispatcher = new RetryAgent(new Agent(), {
|
|
445
|
-
maxRetries:
|
|
445
|
+
maxRetries: 8,
|
|
446
446
|
methods: ["GET", "HEAD", "OPTIONS"],
|
|
447
447
|
});`
|
|
448
448
|
: ""
|