openapi-codegen
openapi-codegen copied to clipboard
OpenAPI 3.0 CodeGen plus Node.js minus the Java and emojis
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
https://github.com/Mermade/openapi-codegen/blob/614eff30db296e1630156ed57a2f298ab0d92c3e/lib/orange/downconvert.js#L97
Bumps [adm-zip](https://github.com/cthackers/adm-zip) from 0.5.5 to 0.5.9. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [fast-safe-stringify](https://github.com/davidmarkclements/fast-safe-stringify) from 2.0.8 to 2.1.1. Release notes Sourced from fast-safe-stringify's releases. v2.1.1 What's Changed Use a higher depth and edge limit to avoid breaking people by @mcollina in davidmarkclements/fast-safe-stringify#58...
e.g. ```yaml requestBody: content: application/json: schema: $ref: '#/components/schemas/foo-bar-baz' ``` The generate API files have code like this: ```javascript module.exports.do_foo = function do_foo (req, res, next) { var foo-bar-baz = req.swagger.params['foo-bar-baz'].value;...
When referencing a component via $ref as a param type, the resolved datatype on the parameter (accessed via `allParams`) is `number` and `isEnum` is `false`. Now with this resulting model...
Many of the target languages support Union types. e.g. for TypeScript, I think oneOf could be rendered as [Discriminated Unions](https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions). Does openapi-codegen support these at the moment? I see one...
After creating the code for nodejs I tried to start the project by ```npm start``` in the out-folder. But I get an error message: ``` API Errors: #/paths/~1task~1/post/parameters/0: Not a...
See the [documentation](https://github.com/Mermade/openapi-codegen/blob/master/docs/README.md) of the config file format. The [current state](https://github.com/Mermade/openapi-codegen/blob/master/README.md#status-of-the-template-configurations) of existing configs (click to expand).
classVarName on an api object is always "default". At least the python template expects it to be a tag name. It may also need casing consideration.