Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
b3nab committed May 19, 2019
1 parent 056b6b9 commit ebbd2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ function transform(api, defaults, callback) {
model["allowableValues.values"] = schema.enum;
model.allowableValues.values = schema.enum;
for (let v of schema.enum) {
let e = { name: v, value: '"'+v+'"' }; // insane, why aren't the quotes in the template?
let e = { name: v, nameInCamelCase: Case.camel(v), value: '"'+v+'"' }; // insane, why aren't the quotes in the template?
model.allowableValues.enumVars.push(e);
}
model.allowableValues.enumVars = convertArray(model.allowableValues.enumVars);
Expand Down

0 comments on commit ebbd2e2

Please sign in to comment.