Skip to content

Commit 1b27405

Browse files
Version Packages (#1423)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent aa79764 commit 1b27405

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

.changeset/salty-pets-notice.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changeset/switch-to-yaml-parser.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# swagger-typescript-api
22

3+
## 13.2.13
4+
5+
### Patch Changes
6+
7+
- [#1424](https://github.com/acacode/swagger-typescript-api/pull/1424) [`aa79764`](https://github.com/acacode/swagger-typescript-api/commit/aa79764bc27fc1787924c46a5905769dccbf385c) Thanks [@smorimoto](https://github.com/smorimoto)! - Ensure discriminator mappings use union enum literals.
8+
9+
Resolve discriminator mapping generation to use literal values when
10+
`generateUnionEnums` is enabled to avoid emitting enum member references.
11+
Add regression coverage that snapshots the discriminator output with
12+
union enums.
13+
14+
- [#1422](https://github.com/acacode/swagger-typescript-api/pull/1422) [`724b0cd`](https://github.com/acacode/swagger-typescript-api/commit/724b0cd3d37acac1ac24fd547e2ad7af3a74bfd6) Thanks [@smorimoto](https://github.com/smorimoto)! - Replace `js-yaml` with `yaml`.
15+
16+
Switch YAML parsing from `js-yaml` to `yaml`. Update the resolver to
17+
use `YAML.parse` when `JSON.parse` fails. Remove `js-yaml` and its types,
18+
add `yaml` as a runtime dependency. No public API changes.
19+
320
## 13.2.12
421

522
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swagger-typescript-api",
3-
"version": "13.2.12",
3+
"version": "13.2.13",
44
"description": "Generate the API client for Fetch or Axios from an OpenAPI Specification",
55
"homepage": "https://github.com/acacode/swagger-typescript-api",
66
"bugs": "https://github.com/acacode/swagger-typescript-api/issues",

0 commit comments

Comments
 (0)