File tree 2 files changed +15
-1
lines changed 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
# next release
2
2
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)
3
17
fix: problems with dot in query params (hard fix) (#460 )
4
18
feature: ability to send custom Ts output code translator to js. Example:
5
19
``` ts
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ interface GenerateApiParamsBase {
7
7
name ?: string ;
8
8
9
9
/**
10
- * path to folder where will been located the created api module.
10
+ * path to folder where will be located the created api module.
11
11
*
12
12
* may set to `false` to skip writing content to disk. in this case,
13
13
* you may access the `files` on the return value.
You can’t perform that action at this time.
0 commit comments