openapi-generator
openapi-generator copied to clipboard
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
This adds support for [GitHub Codespaces](https://docs.github.com/en/codespaces). It's pretty much a GitHub flavored Gitpod.  @wing328 @jimschubert @cbornet @jmini @etherealjoy @spacether
#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [x]...
#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [ ] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? -...
Fixes #13241 and now deserializes correctly by returning UNKNOWN_DEFAULT_OPEN_APIwhen enumUnknownDefaultCase is set to true. ### PR checklist - [x] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md). - [x] Pull Request title clearly describes...
#### Bug Report Checklist - [no] Have you provided a full/minimal spec to reproduce the issue? - [yes] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [no]...
For the csharp-netcore generator, some `ConfigureAwait(false)` statements were missing in the async methods. This could cause a deadlock, mainly in .NET Framework UI code. The general guidance is to use...
#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [...
### PR checklist - [x] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md). - [x] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how...
#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [...
`getDelegateAdapter` goes through the list of adapters, but skips mentioned adapter (in this case `this` adapter). And `this` and `TypeToken.get({{.}}.class` refers to different model types. https://github.com/OpenAPITools/openapi-generator/blob/69f79fb7892948590a9ffe46754c47ddd2634be1/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/anyof_model.mustache#L47 This leads to getDelegateAdapter...