openapi-generator icon indicating copy to clipboard operation
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)

Results 1209 openapi-generator issues
Sort by recently updated
recently updated
newest added

### Description of the PR I have implemented `oneOf` schemas as a type union and a `oneOf` class with a discriminator and mapping, similar to [PR 2617](https://github.com/OpenAPITools/openapi-generator/pull/2617) and [PR 2647](https://github.com/OpenAPITools/openapi-generator/pull/2647),...

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

Issue: Bug

##### Description I am using openapi-generator gradle plugin with version "5.2.1" to generate api from openApi spec 3.0. In one of the endpoint I have to return file as a...

Issue: Bug

##### Description Textual responses get wrapped in JSON, the current template calls `.json` regardless of output type. ```java if (apiResponse.hasData()) { routingContext.json(apiResponse.getData()); } ``` ##### openapi-generator version 7.2.0 Also checked...

Issue: Bug

##### Description Generated code does not compile for text/plain request bodies. There is a redeclaration like so: ```java RequestParameter body = requestParameters.body(); String body = body != null ? DatabindCodec.mapper().convertValue(body.get(),...

Issue: Bug

I have a project that needs to use multiple YAML files, but the `inputSpec` doesn't support this. I try a workaround solution by adding multiple executions of the maven plugin...

Enhancement: Feature

##### Description The attached example demonstrates the problem. It contains two classes (`Obj1` and `Obj2`). Both have the same `mode` property. In the class `Obj1` this results in the property...

Issue: Bug

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

Issue: Bug

##### Description Expect default `nullable`=`false` to generate `@JsonInclude(JsonInclude.Include.NON_NULL) ` excluding non-null fields from being returned. This is the default behavior in swagger-codegen. ##### openapi-generator version 4.1.2 ##### OpenAPI declaration file...

##### Description After upgrading the `openapi-generator-maven-plugin` from version 5.3.0 to 7.6.0 `def` is appended to all the generated class names. Example `Action.java` is now `Actiondef.java`. The only thing that has...