swagger-typescript-api 13.2.11 → 13.2.12
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/CHANGELOG.md +11 -0
- package/README.md +2 -2
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/lib.cjs +1 -1
- package/dist/lib.js +1 -1
- package/dist/{src-D2FYrO2h.cjs → src-Fy1zzbnV.cjs} +5 -5
- package/dist/src-Fy1zzbnV.cjs.map +1 -0
- package/dist/{src-BRCAbt5v.js → src-LjX9fiRq.js} +5 -5
- package/dist/src-LjX9fiRq.js.map +1 -0
- package/package.json +4 -4
- package/dist/src-BRCAbt5v.js.map +0 -1
- package/dist/src-D2FYrO2h.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# swagger-typescript-api
|
|
2
2
|
|
|
3
|
+
## 13.2.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1420](https://github.com/acacode/swagger-typescript-api/pull/1420) [`426433b`](https://github.com/acacode/swagger-typescript-api/commit/426433b3f6144b6f28f0b79614df28dd3dea2012) Thanks [@smorimoto](https://github.com/smorimoto)! - Move `@types/lodash` and `openapi-types` to dependencies
|
|
8
|
+
|
|
9
|
+
These type packages are referenced by the published declarations, so consumers
|
|
10
|
+
require them at install time for correct type resolution. Moving them from
|
|
11
|
+
`devDependencies` prevents downstream TypeScript errors whilst having no
|
|
12
|
+
runtime impact.
|
|
13
|
+
|
|
3
14
|
## 13.2.11
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
- Support for OpenAPI 3.0, 2.0, JSON and YAML
|
|
4
4
|
- Generate the API Client for Fetch or Axios from an OpenAPI Specification
|
|
5
5
|
|
|
6
|
-
Any questions you can ask
|
|
6
|
+
Any questions you can ask here: <https://github.com/acacode/swagger-typescript-api/discussions>
|
|
7
7
|
|
|
8
8
|
## Examples
|
|
9
9
|
|
|
10
|
-
All examples you can find
|
|
10
|
+
All examples you can find here: <https://github.com/acacode/swagger-typescript-api/tree/main/tests>
|
|
11
11
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
package/dist/cli.cjs
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { CodeGenConfig, HTTP_CLIENT, TemplatesGenConfig, generateApi, generateTemplates, package_default } from "./src-
|
|
2
|
+
import { CodeGenConfig, HTTP_CLIENT, TemplatesGenConfig, generateApi, generateTemplates, package_default } from "./src-LjX9fiRq.js";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import { loadConfig } from "c12";
|
|
5
5
|
import { defineCommand, runMain } from "citty";
|
package/dist/lib.cjs
CHANGED
package/dist/lib.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RequestContentKind, SCHEMA_TYPES, constants_exports, generateApi, generateTemplates } from "./src-
|
|
1
|
+
import { RequestContentKind, SCHEMA_TYPES, constants_exports, generateApi, generateTemplates } from "./src-LjX9fiRq.js";
|
|
2
2
|
|
|
3
3
|
export { RequestContentKind, SCHEMA_TYPES, constants_exports as constants, generateApi, generateTemplates };
|
|
@@ -216,7 +216,7 @@ var ComponentTypeNameResolver = class extends NameResolver {
|
|
|
216
216
|
//#endregion
|
|
217
217
|
//#region package.json
|
|
218
218
|
var name = "swagger-typescript-api";
|
|
219
|
-
var version = "13.2.
|
|
219
|
+
var version = "13.2.12";
|
|
220
220
|
var description = "Generate the API client for Fetch or Axios from an OpenAPI Specification";
|
|
221
221
|
var homepage = "https://github.com/acacode/swagger-typescript-api";
|
|
222
222
|
var bugs = "https://github.com/acacode/swagger-typescript-api/issues";
|
|
@@ -258,6 +258,7 @@ var scripts = {
|
|
|
258
258
|
var dependencies = {
|
|
259
259
|
"@biomejs/js-api": "3.0.0",
|
|
260
260
|
"@biomejs/wasm-nodejs": "2.2.4",
|
|
261
|
+
"@types/lodash": "^4.17.20",
|
|
261
262
|
"@types/swagger-schema-official": "^2.0.25",
|
|
262
263
|
"c12": "^3.3.0",
|
|
263
264
|
"citty": "^0.1.6",
|
|
@@ -266,6 +267,7 @@ var dependencies = {
|
|
|
266
267
|
"js-yaml": "^4.1.0",
|
|
267
268
|
"lodash": "^4.17.21",
|
|
268
269
|
"nanoid": "^5.1.5",
|
|
270
|
+
"openapi-types": "^12.1.3",
|
|
269
271
|
"swagger-schema-official": "2.0.0-bab6bed",
|
|
270
272
|
"swagger2openapi": "^7.0.8",
|
|
271
273
|
"typescript": "~5.9.2"
|
|
@@ -277,16 +279,14 @@ var devDependencies = {
|
|
|
277
279
|
"@tsconfig/node20": "20.1.6",
|
|
278
280
|
"@tsconfig/strictest": "2.0.5",
|
|
279
281
|
"@types/js-yaml": "4.0.9",
|
|
280
|
-
"@types/lodash": "4.17.20",
|
|
281
282
|
"@types/node": "24.5.2",
|
|
282
283
|
"@types/swagger2openapi": "7.0.4",
|
|
283
284
|
"axios": "1.12.2",
|
|
284
|
-
"openapi-types": "12.1.3",
|
|
285
285
|
"tsdown": "0.15.2",
|
|
286
286
|
"typedoc": "0.28.13",
|
|
287
287
|
"vitest": "3.2.4"
|
|
288
288
|
};
|
|
289
|
-
var packageManager = "yarn@4.
|
|
289
|
+
var packageManager = "yarn@4.10.2";
|
|
290
290
|
var engines = { "node": ">=20" };
|
|
291
291
|
var publishConfig = {
|
|
292
292
|
"access": "public",
|
|
@@ -3247,4 +3247,4 @@ Object.defineProperty(exports, 'package_default', {
|
|
|
3247
3247
|
return package_default;
|
|
3248
3248
|
}
|
|
3249
3249
|
});
|
|
3250
|
-
//# sourceMappingURL=src-
|
|
3250
|
+
//# sourceMappingURL=src-Fy1zzbnV.cjs.map
|