feat(openapi): Add modified typescript-fetch template
This template is modified from the original one, to handle multiple status-code handling of response. Don't ask me how they work, I don't quite understand them in depth...
This commit is contained in:
parent
b7c2a3dff9
commit
5dd6067c95
32 changed files with 2852 additions and 0 deletions
17
openapi-template/index.mustache
Normal file
17
openapi-template/index.mustache
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export * from './runtime{{importFileExtension}}';
|
||||
{{#useSagaAndRecords}}
|
||||
export * from './runtimeSagasAndRecords{{importFileExtension}}';
|
||||
export * from './ApiEntitiesRecord{{importFileExtension}}';
|
||||
export * from './ApiEntitiesReducer{{importFileExtension}}';
|
||||
export * from './ApiEntitiesSelectors{{importFileExtension}}';
|
||||
{{/useSagaAndRecords}}
|
||||
{{#apiInfo}}
|
||||
{{#apis.0}}
|
||||
export * from './apis/index{{importFileExtension}}';
|
||||
{{/apis.0}}
|
||||
{{/apiInfo}}
|
||||
{{#models.0}}
|
||||
export * from './models/index{{importFileExtension}}';
|
||||
{{/models.0}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue