forked from loafle/openapi-generator-original
20 lines
425 B
Plaintext
20 lines
425 B
Plaintext
{{#emitJSDoc}} /**
|
|
* Allowed values for the <code>{{baseName}}</code> property.
|
|
* @enum {{=<% %>=}}{<%datatype%>}<%={{ }}=%>
|
|
* @readonly
|
|
*/{{/emitJSDoc}}
|
|
exports.{{datatypeWithEnum}} = {
|
|
{{#allowableValues}}
|
|
{{#enumVars}}
|
|
{{#emitJSDoc}}
|
|
/**
|
|
* value: {{{value}}}
|
|
* @const
|
|
*/
|
|
{{/emitJSDoc}}
|
|
"{{name}}": {{{value}}}{{^-last}},
|
|
{{/-last}}
|
|
{{/enumVars}}
|
|
{{/allowableValues}}
|
|
};
|