updating templates to be more in line with expected backstage types.
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
* {{{appName}}}
|
||||
* {{{appDescription}}}
|
||||
*
|
||||
* {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}}
|
||||
* {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}}
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
* {{{appName}}}{{#version}}@{{{.}}}{{/version}}
|
||||
*
|
||||
* NOTE: This class is auto generated, do not edit the class manually.
|
||||
*/
|
||||
@@ -6,9 +6,9 @@ import {
|
||||
} from './';
|
||||
|
||||
{{/hasImports}}
|
||||
/**
|
||||
* @type {{classname}}{{#description}}
|
||||
* {{{.}}}{{/description}}
|
||||
* @export
|
||||
*/
|
||||
{{#description}}
|
||||
/**
|
||||
* {{{.}}}
|
||||
*/
|
||||
{{/description}}
|
||||
export type {{classname}} = {{#oneOf}}{{{.}}}{{^-last}} | {{/-last}}{{/oneOf}};
|
||||
|
||||
Reference in New Issue
Block a user