-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
typescript-fetch: fix basic type errors
* use proper response for simple object return types * exclude api and/or model support files and imports if none are generated Signed-off-by: Prateek Malhotra <someone1@gmail.com>
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
modules/openapi-generator/src/main/resources/typescript-fetch/index.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
export * from './runtime'; | ||
{{#apiInfo}} | ||
{{#apis.0}} | ||
export * from './apis'; | ||
{{/apis.0}} | ||
{{/apiInfo}} | ||
{{#models.0}} | ||
export * from './models'; | ||
{{/models.0}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters