Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/add-enum-style-option.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-optional-query-params.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down