first commit
This commit is contained in:
20
templates/model.mustache
Normal file
20
templates/model.mustache
Normal file
@@ -0,0 +1,20 @@
|
||||
{{#models}}
|
||||
{{#model}}
|
||||
/**
|
||||
* {{classname}} DTO
|
||||
* {{#description}}{{description}}{{/description}}
|
||||
* Generated from OpenAPI specification
|
||||
*/
|
||||
export interface {{classname}}Dto {
|
||||
{{#vars}}
|
||||
{{#description}}
|
||||
/**
|
||||
* {{description}}
|
||||
*/
|
||||
{{/description}}
|
||||
{{name}}{{^required}}?{{/required}}: {{dataType}};
|
||||
{{/vars}}
|
||||
}
|
||||
|
||||
{{/model}}
|
||||
{{/models}}
|
||||
Reference in New Issue
Block a user