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...
32 lines
594 B
Text
32 lines
594 B
Text
/* tslint:disable */
|
|
/* eslint-disable */
|
|
{{#models}}
|
|
{{#model}}
|
|
{{^withoutRuntimeChecks}}
|
|
export * from './{{{ classFilename }}}{{importFileExtension}}';
|
|
{{#useSagaAndRecords}}
|
|
{{^isEnum}}
|
|
export * from './{{{ classFilename }}}Record{{importFileExtension}}';
|
|
{{/isEnum}}
|
|
{{/useSagaAndRecords}}
|
|
{{/withoutRuntimeChecks}}
|
|
{{#withoutRuntimeChecks}}
|
|
{{#isEnum}}
|
|
{{>modelEnumInterfaces}}
|
|
|
|
{{/isEnum}}
|
|
{{^isEnum}}
|
|
{{#oneOf}}
|
|
{{#-first}}
|
|
{{>modelOneOfInterfaces}}
|
|
|
|
{{/-first}}
|
|
{{/oneOf}}
|
|
{{^oneOf}}
|
|
{{>modelGenericInterfaces}}
|
|
|
|
{{/oneOf}}
|
|
{{/isEnum}}
|
|
{{/withoutRuntimeChecks}}
|
|
{{/model}}
|
|
{{/models}}
|