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)
Only add the import for the `@JsonCreator` annotation when the model actually contains it. Currently this import is being added to **every** generated model, even though it is only needed...
##### Description When using the oneOf expression with enums the code fails to compile because the interface has a function of type "public String getType();", while the children nodes have...
##### Description In the [_ref6570_expansion](https://github.com/OpenAPITools/openapi-generator/blob/1fda3ce290c05f0be37bcefd5a656a67e7b14bf8/modules/openapi-generator/src/main/resources/python/api_client.handlebars#L276) booleans are consciously not covered, while they should be included as "true" or "false". Unfortunately, I cannot share the spec of the api. The parameters...
#### 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]...
Fixes codegen returns error when schema has a pattern property: ``` Exception: Unbalanced '{' - missing '}' at 'z0-9]{3' ``` mention the technical committee members @TiFu @taxpon @sebastianhaas @kenisteward @Vrolijkx...
#### 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]...
#### Bug Report Checklist ##### Description The [following](https://ethereum.github.io/eth2.0-APIs/beacon-node-oapi.yaml) yaml file has multiple instances where two exports are import into the same file: eg: ```javascript import { this that } from...
##### Description When a model with a discriminator field and discriminator.mapping is defined, the generated class annotations cause an unexpected output in serialization. ##### openapi-generator version 6.2.0 ##### Steps to...
#### 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]...