We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e.g.
requestBody: content: application/json: schema: $ref: '#/components/schemas/foo-bar-baz'
The generate API files have code like this:
module.exports.do_foo = function do_foo (req, res, next) { var foo-bar-baz = req.swagger.params['foo-bar-baz'].value; // ... }
- is not a valid identifier character in JavaScript, because it's used as a mathematic operator foo - bar - baz.
-
foo - bar - baz
The identifier is also used in the generated impl/API service:
exports.do_foo = function(foo-bar-baz) { // ... }
The text was updated successfully, but these errors were encountered:
Note: look at interaction of variableNamingConvention and modelPropertyNaming and see if one should affect parameter naming.
variableNamingConvention
modelPropertyNaming
Sorry, something went wrong.
No branches or pull requests
e.g.
The generate API files have code like this:
-
is not a valid identifier character in JavaScript, because it's used as a mathematic operatorfoo - bar - baz
.The identifier is also used in the generated impl/API service:
The text was updated successfully, but these errors were encountered: