diff --git a/.changeset/add-enum-style-option.md b/.changeset/add-enum-style-option.md deleted file mode 100644 index 23b124ba9..000000000 --- a/.changeset/add-enum-style-option.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"swagger-typescript-api": minor ---- - -Add `enumStyle` option ("enum" | "union" | "const") to control enum output format. `"const"` generates `as const` objects with a companion type alias, including the built-in `ContentType` in the http-client. `generateUnionEnums` is deprecated in favor of `enumStyle: "union"`. diff --git a/.changeset/fix-optional-query-params.md b/.changeset/fix-optional-query-params.md deleted file mode 100644 index 4dddd518d..000000000 --- a/.changeset/fix-optional-query-params.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"swagger-typescript-api": patch ---- - -Fix: combined query params object now correctly gets a default value of `{}` when all its fields are optional and no path params are present (extractRequestParams mode) diff --git a/CHANGELOG.md b/CHANGELOG.md index dda8a8a03..88021796a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # swagger-typescript-api +## 13.10.0 + +### Minor Changes + +- [#1754](https://github.com/acacode/swagger-typescript-api/pull/1754) [`9d493e8`](https://github.com/acacode/swagger-typescript-api/commit/9d493e8f64f133c403335d85cf6aaa15e125343b) Thanks [@Upgrade220](https://github.com/Upgrade220)! - Add `enumStyle` option ("enum" | "union" | "const") to control enum output format. `"const"` generates `as const` objects with a companion type alias, including the built-in `ContentType` in the http-client. `generateUnionEnums` is deprecated in favor of `enumStyle: "union"`. + +### Patch Changes + +- [#1756](https://github.com/acacode/swagger-typescript-api/pull/1756) [`fed24c6`](https://github.com/acacode/swagger-typescript-api/commit/fed24c65791b503723ffe1d0cf247620978f16d3) Thanks [@Upgrade220](https://github.com/Upgrade220)! - Fix: combined query params object now correctly gets a default value of `{}` when all its fields are optional and no path params are present (extractRequestParams mode) + ## 13.9.3 ### Patch Changes diff --git a/package.json b/package.json index a8759b661..ed9b7c5ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "swagger-typescript-api", - "version": "13.9.3", + "version": "13.10.0", "description": "Generate the API client for Fetch or Axios from an OpenAPI Specification", "homepage": "https://github.com/acacode/swagger-typescript-api", "bugs": "https://github.com/acacode/swagger-typescript-api/issues",