Skip to content

Commit 19664f8

Browse files
author
svolkov
committed
bump: up version to 1.8.3; docs: update CHANGELOG
1 parent 2156c5c commit 19664f8

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# next release
22

3+
# 1.8.3
4+
5+
Fixes:
6+
- Generating invalid code in composed schema contexts ([#51 issue](https://github.com/acacode/swagger-typescript-api/issues/51))
7+
```yaml
8+
components:
9+
schemas:
10+
Test:
11+
type: object
12+
allOf:
13+
- type: object
14+
properties:
15+
x:
16+
type: array
17+
items:
18+
type: string
19+
enum:
20+
- A-B
21+
- type: object
22+
properties:
23+
y:
24+
type: string
25+
```
26+
```ts
27+
export type Test = XAB & { y?: string };
28+
```
29+
330
# 1.8.2
431
532
Fixes:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "1.8.2",
3+
"version": "1.8.3",
44
"description": "Create typescript api module from swagger schema",
55
"scripts": {
66
"cli:json": "node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts",

0 commit comments

Comments
 (0)