swagger-typescript-api 13.0.13 → 13.0.14
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/{chunk-O6K2HOIW.js → chunk-FPPX3UNW.js} +6 -6
- package/dist/chunk-FPPX3UNW.js.map +1 -0
- package/dist/{chunk-T7GDAZLY.cjs → chunk-PZ627X5P.cjs} +8 -8
- package/dist/chunk-PZ627X5P.cjs.map +1 -0
- package/dist/cli.cjs +4 -4
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/lib.cjs +5 -5
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.js +2 -2
- package/dist/lib.js.map +1 -1
- package/package.json +6 -6
- package/templates/base/http-clients/axios-http-client.ejs +1 -1
- package/dist/chunk-O6K2HOIW.js.map +0 -1
- package/dist/chunk-T7GDAZLY.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swagger-typescript-api",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.14",
|
|
4
4
|
"description": "Generate the API client for Fetch or Axios from an OpenAPI Specification",
|
|
5
5
|
"homepage": "https://github.com/acacode/swagger-typescript-api",
|
|
6
6
|
"bugs": "https://github.com/acacode/swagger-typescript-api/issues",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"prettier": "~3.3.3",
|
|
57
57
|
"swagger-schema-official": "2.0.0-bab6bed",
|
|
58
58
|
"swagger2openapi": "^7.0.8",
|
|
59
|
-
"typescript": "~5.5.
|
|
59
|
+
"typescript": "~5.5.4"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@biomejs/biome": "1.8.3",
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"@tsconfig/strictest": "2.0.5",
|
|
65
65
|
"@types/didyoumean": "1.2.2",
|
|
66
66
|
"@types/js-yaml": "4.0.9",
|
|
67
|
-
"@types/lodash": "4.17.
|
|
68
|
-
"@types/node": "
|
|
67
|
+
"@types/lodash": "4.17.7",
|
|
68
|
+
"@types/node": "22.0.0",
|
|
69
69
|
"@types/swagger2openapi": "7.0.4",
|
|
70
70
|
"axios": "1.7.2",
|
|
71
71
|
"shx": "0.3.4",
|
|
72
|
-
"tsup": "8.
|
|
73
|
-
"vitest": "2.0.
|
|
72
|
+
"tsup": "8.2.3",
|
|
73
|
+
"vitest": "2.0.4"
|
|
74
74
|
},
|
|
75
75
|
"packageManager": "yarn@4.3.1",
|
|
76
76
|
"engines": {
|
|
@@ -127,7 +127,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
127
127
|
...requestParams,
|
|
128
128
|
headers: {
|
|
129
129
|
...(requestParams.headers || {}),
|
|
130
|
-
...(type
|
|
130
|
+
...(type ? { "Content-Type": type } : {}),
|
|
131
131
|
},
|
|
132
132
|
params: query,
|
|
133
133
|
responseType: responseFormat,
|