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 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 [**here**](https://github.com/acacode/swagger-typescript-api/discussions)
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 [**here**](https://github.com/acacode/swagger-typescript-api/tree/main/tests)
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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_src = require('./src-D2FYrO2h.cjs');
2
+ const require_src = require('./src-Fy1zzbnV.cjs');
3
3
  let node_path = require("node:path");
4
4
  node_path = require_src.__toESM(node_path);
5
5
  let c12 = require("c12");
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-BRCAbt5v.js";
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
@@ -1,4 +1,4 @@
1
- const require_src = require('./src-D2FYrO2h.cjs');
1
+ const require_src = require('./src-Fy1zzbnV.cjs');
2
2
 
3
3
  exports.RequestContentKind = require_src.RequestContentKind;
4
4
  exports.SCHEMA_TYPES = require_src.SCHEMA_TYPES;
package/dist/lib.js CHANGED
@@ -1,3 +1,3 @@
1
- import { RequestContentKind, SCHEMA_TYPES, constants_exports, generateApi, generateTemplates } from "./src-BRCAbt5v.js";
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.11";
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.9.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-D2FYrO2h.cjs.map
3250
+ //# sourceMappingURL=src-Fy1zzbnV.cjs.map