openapi-codegen icon indicating copy to clipboard operation
openapi-codegen copied to clipboard

OpenAPI 3.0 CodeGen plus Node.js minus the Java and emojis

Results 36 openapi-codegen issues
Sort by recently updated
recently updated
newest added

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...

dependencies

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 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=adm-zip&package-manager=npm_and_yarn&previous-version=0.5.5&new-version=0.5.9)](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...

dependencies

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...

dependencies

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;...

bug

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...

bug

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).

help wanted
good first issue
no coding required
multiple opportunities

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.

bug
in progress