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 allows users to use APIs that require booleans in query params not to be cast to int, e.g. `&foo=true`. Currently, `true` is cast to `1` so it's passed as...
Many generators encounter the same problem against properties having a `"type": "object"` or `'type": ["string", "number",...]`, and another form with arrays that lead to missing sources files at generation time:...
Please merge this first https://github.com/OpenAPITools/openapi-generator/pull/18408 closes https://github.com/OpenAPITools/openapi-generator/pull/17397 Removes the discriminator because `new Whale("whale")` is redundant. We can just do `new Whale()` ### PR checklist - [x] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md)....
_This is a BC break_ When target API contains `GET /config` endpoint, the codegen generates two methods with name `getConfig()`. That causes PHP Fatal error: Cannot redeclare My\Ns\...\Api\ConfigApi::getConfig() in /file.php...
For the php-flight server generator, there was a bug when parsing models - should have tested more thoroughly in the first place - sorry for that! @jebentier , @dkarlovi ,...
# PR checklist - [x] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md). - [x] If contributing template-only or documentation-only changes which will change sample output, [build the project](https://github.com/OpenAPITools/openapi-generator#14---build-projects) before. - [x] Run the...
#### 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? - [x] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? - [x]...
### PR checklist - [ ] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md). - [ ] Pull Request title clearly describes the work in the pull request and Pull Request description provides details...
##### Description to json functions gives the wrong output ##### openapi-generator version 7.5.0 -> no library defined ##### OpenAPI declaration file content or url The following Yaml ```yaml pt: type:...