Skip to content

Commit e340527

Browse files
committed
docs: update CHANGELOG
1 parent 0980e3e commit e340527

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG.md

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

3+
BREAKING_CHANGE: change swagger-typescript-api NodeJS "generateApi" function return type
4+
5+
```diff
6+
interface GenerateApiOutput {
7+
...
8+
- files: { name: string; content: string; declaration: { name: string; content: string } | null }[];
9+
+ files: { fileName: string; fileContent: string; fileExtension: string }[];
10+
...
11+
}
12+
```
13+
14+
internal: refactor schema parser code (preparing it for async code execution)
15+
internal: add discriminator property support (disabled for this release)
16+
internal: prepare code + templates for async code execution (next plans)
317
fix: problems with dot in query params (hard fix) (#460)
418
feature: ability to send custom Ts output code translator to js. Example:
519
```ts

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface GenerateApiParamsBase {
77
name?: string;
88

99
/**
10-
* path to folder where will been located the created api module.
10+
* path to folder where will be located the created api module.
1111
*
1212
* may set to `false` to skip writing content to disk. in this case,
1313
* you may access the `files` on the return value.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy