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)
#### 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]...
##### openapi-generator version 6.3.0 ##### Source json ``` "typeIDs": { "description": "Ids", "type": "array", "items": { "format": "int32", "type": "integer", "enum": [ 0, 7, 8, 9, 10, 11, 12, 13,...
#### 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]...
### Problem Previously, generated code from the `oneOf` schema without a discriminator might cause runtime errors. schema: ```yaml openapi: 3.0.0 info: version: 1.0.0 title: Test description: Test paths: /foo: get:...
##### Description I activated the debug into the ApiClient and when i receive a 404 status with an empty response body the .getBody throw an exception of type FileNotFound ...
### Is your feature request related to a problem? Please describe. restTemplate generated ApiClient handles response this way : ``` if (responseEntity.getStatusCode().is2xxSuccessful()) { return responseEntity; } else { // The...
I would using my **_withHttpInfo(...)_** method generate from my client interface but not work because a RestClientException is throwed when i receive a 404 for example. I have override the...
#### Bug Report Checklist - [X] Have you provided a full/minimal spec to reproduce the issue? https://github.com/onfido/onfido-openapi-spec/blob/master/generated/artifacts/openapi-reference/openapi.json - [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...
##### Description When cookie support for header auth is present in the OpenAPI schema v3, the Ruby client produced contains nothing after the : on the following line: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/ruby-client/configuration.mustache#L173 On...