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)
 I created it normally until I added --additional-properties=serializationLibrary=json_serializable, but the code could not be generated when there was a MultipartFile.
https://github.com/OpenAPITools/openapi-generator/blob/7ecc99192d1f1cab024a89aa73f64c25f8e74ac8/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java#L1508
##### Description We have an OpenAPI spec file where we've defined multiple possible responses for an operation, however when the Spring code is generated the generated @RequestMapping method is only...
#### 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 PR fix some Clippy warnings in generated code. Noted: I ran integration tests, no problem so far: ```bash ./bin/generate-samples.sh bin/configs/manual/rust-axum-* mvn integration-test -f samples/server/petstore/rust-axum/pom.xml ``` ### PR checklist -...
* Don't let generated model code extend the type specified within the `additionalProperties` schema (or the array item schema) but the pydantic `BaseModel`. * Support `additionalProperties` the pydantic v2 way...
[#8937 #958(actually already closed)] I added the support for `enum` type inside objects. They can be stand alone or inside vectors. `Set` of enums doesn't compile in favor of vectors....
This PR updates the swift6 generator dependencies. ### 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...
As requested in issue https://github.com/OpenAPITools/openapi-generator/issues/17544 added support for `x-field-extra-annotation` to the Kotlin generator. To be consistent also added support for `x-class-extra-annotation` annotation. Resolves https://github.com/OpenAPITools/openapi-generator/issues/17544 ### PR checklist - [x] Read...
### 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...