forked from loafle/openapi-generator-original
skip trailing comma for enums
This commit is contained in:
parent
13d5bcfa4d
commit
f1710a1840
@ -28,7 +28,7 @@ namespace {{package}} {
|
||||
{{#isEnum}}
|
||||
|
||||
export enum {{datatypeWithEnum}} { {{#allowableValues}}{{#values}}
|
||||
{{.}} = <any> '{{.}}',{{/values}}{{/allowableValues}}
|
||||
{{.}} = <any> '{{.}}'{{^-last}},{{/-last}}{{/values}}{{/allowableValues}}
|
||||
}
|
||||
{{/isEnum}}
|
||||
{{/vars}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user