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)
### 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...
Small fix for java JaxRS template. newInstance() method is deprecated in Class class since JDK9.
#### 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/))? - [...
Fixes mustach template from https://github.com/OpenAPITools/openapi-generator/pull/18476 Before (unterminated comment block) ```ts /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm(consumes: string[]): boolean {...
#### 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]...
fix https://github.com/OpenAPITools/openapi-generator/issues/18730 ### 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...
Since 7.5.0 optional field in collections where initialized with an Object (i.e. new ArrayList()) but before they where initialized with null. This PR fixes this by using the required-Property to...
Implements proposed solution from #18736. Empty Strings are no longer added to the string builder in order to avoid creating invalid request querys. ### PR checklist - [x] Read 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]...
## Describe the solution you'd like It would be nice to be able to set subpackage for generated model classes. ``` ... components: schemas: ... ClassToPlaceInSubPackage: type: object subpackage: sub.pkg...