typescript-fetch-api.modelEnum.handlebars Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-generator-typescript-fetch-api Show documentation
Show all versions of openapi-generator-typescript-fetch-api Show documentation
OpenAPI-generator for TypeScript interfaces using the browser native fetch API.
Generates direct mapping of APIs as interfaces and test-data generators for DTOs
export const {{classname}}Values = [
{{~#allowableValues}}
{{~#enumVars}}
{{{value}}},
{{~/enumVars}}
{{~/allowableValues}}
] as const;
{{#if description}}
/**
* {{{description}}}
*/{{/if}}
export type {{classname}} = typeof {{classname}}Values[number];
© 2015 - 2025 Weber Informatics LLC | Privacy Policy