swagger-codegen
swagger-codegen copied to clipboard
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
##### Description We are using the swagger-codegen-cli to generate our classes, however, we noticed a strange case where a property that is referenced to (as object) in another .yaml, gets...
##### Description When updating my project to the .NET8 version, Newtonsfot.Json serialization stopped working. To solve this problem, I had to put a global variable in the Startup.cs class: ```...
##### Description When generating a new API interface, the response headers declared in the swagger file is not included in the @ApiResponse annotation, they are simply ignored ##### Swagger-codegen version...
##### Description Suggestion : In the generated ApiClient class, all attributes are not defined as global variables. I'm thinking of the local variable "WebTarget target" in the invokeAPI method. To...
##### Description When the YAML file contains a field with an array of enums, the API Java code generates the field as a single-option select list instead of a multi-select...
##### Description When I try to generate the C# files for the OAS spec from [here ](https://digital.nhs.uk/developer/api-catalogue/electronic-prescription-service-fhir) ([raw](https://digital.nhs.uk/restapi/oas/324177)), the interfaces generated for the `OneOf` sections do not have implementations. ...
Description [JAVA] When i try to generate the objects using the below , generate objects does not have message value . expected: @JsonProperty("inlineString") @Nullable @Size(max=100, message='validation message') public String getinlineString();...
### PR checklist - [x] Read the [contribution guidelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md). - [x] Ran the shell script under `./bin/` to update Petstore sample so that CIs can verify the change. (For instance,...
I recently searched high and low for a documentation of all the config options and didn't find anything. I believe this is a general problem but in my case I...
##### Description I integrate swagger-codegen-maven-plugin's goal 'generate' into my Maven build and use following configuration: ```xml ${project.basedir}/src/main/resources/swagger.json java false false false resttemplate java8 ``` Calling `mvn clean package` produces a...