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)
Approach to deep clone Schema's introduced in https://github.com/OpenAPITools/openapi-generator/pull/16992 breaks support for properties with custom types (added using schemaMappings or type/importMappings) when such properties are inherited using allOf. AnnotationsUtils#clone returns null...
##### Description The current Java classes generated by the plugin exhibit a few notable issues: 1. Non-standard annotations such as `@javax.annotation.Nonnull` or `@javax.annotation.Nullable` from `com.google.code.findbugs:jsr305:3.0.2` are utilised. 2. Annotations are...
##### Description While the model tests use JUnit 5 (`import org.junit.jupiter.api.Test`) the api tests still use JUnit 4 (`import org.junit.Test`). ##### openapi-generator version 7.5.0 ##### OpenAPI declaration file content or...
#### Bug Report Checklist - [yesy ] Have you provided a full/minimal spec to reproduce the issue? - [ yes] 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]...
### Is your feature request related to a problem? Please describe. The current implementation of Spring code generation with hateoas enabled creates models, that extends RepresentationModel. If we add for...
#### 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 [Issue-18444](https://github.com/OpenAPITools/openapi-generator/issues/18444) added new option: _generateRecursiveDependentModels_ - generate the models recursively if models should generate selectively (see modelsToGenerate) and all dependent models will be generated too - all models for...
fixes #18400 @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02) @davidgamero (2022/03) @mkusaka (2022/04) ### PR checklist -...
I really like the generated code using `useSingleRequestParameter=true` **but** it would be great if the paramter would be optional if all the paramters' properties are. E.g. if I have a...