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)
### Is your feature request related to a problem? Please describe. When the API call returns an error (3xx, 4xx, 5xx) the generated Go client returns the `GenericOpenAPIError` with body,...
##### Description It generates a wrong way to call the HttpClient.delete method ##### openapi-generator version ``` 5.3.1-SNAPSHOT ``` ##### OpenAPI declaration file content or url ```json "/v1/project/{projectId}": { "delete": {...
#### 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/))? - [...
### Description **openapi-generator-maven-plugin** release version **5.1.0** A Java client, generated with openapi-generator-maven-plugin will throw a **com.google.gson.JsonSyntaxException** during JSON deserialization of a server response: ``` com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was...
#### Bug Report Checklist - [x] Have you provided a full/minimal spec to reproduce the issue? - [x] [N/A] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? -...
#### 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]...
This fixes #13444 and now deserializes correctly by returning `UNKNOWN_DEFAULT_OPEN_API`when `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...
Support Jakarta EE in jaxrs-spec. partially addresses: https://github.com/OpenAPITools/openapi-generator/issues/13124 https://github.com/OpenAPITools/openapi-generator/issues/6881 To enable jakarta imports, set the additional property useJakartaEE to true. If the option is false the legacy javax.* namespace is...
### Is your feature request related to a problem? webflux webclient supports applications/x-ndjson which replaces application/stream+json https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/MediaType.html#APPLICATION_STREAM_JSON If openapi specification declares ndjson in the list of possible mediaTypes generated ApiClient...