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.
According to [this](https://github.com/swagger-api/swagger-codegen/blob/129235049ab062492c75cc193ecfada84633cc56/modules/swagger-codegen/src/main/java/io/swagger/codegen/v3/DefaultGenerator.java#L954) line path level parameters are propagated to operation. However, the part `&& operation.getParameters() != null` excludes this scenario, because operation relying on path level parameters (like `GET...
##### Description Our API input specifies input fields in mixed case, such as, SO_SystemID. The generated model's $attributeMap has the entry, which matches our API response: ``` /** * Array...
##### Description Current code generator for Swift 4 generates invalid code for JSON dictionaries or properties with object value type. Property generated code: ``` open class TaskParameter: Codable { public...
### 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,...
##### Description I am trying to turn off bean validation, so not @Validated would be used on generated model. I can't. When I set false it is completely ignored. #####...
##### Description Go code generated by swagger-codegen has a line with the following comment: * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) This comment does not match the pattern for generated code...
### PR checklist - [x] Read the [contribution guidelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md). - [ ] Ran the shell script under `./bin/` to update Petstore sample so that CIs can verify the change. (For...
##### Description The generated server of type 'nodejs' does not support CORS. I think in most use-cases CORS support is desireable, so the generated server code should support CORS out-of-the-box....
##### Description The C# client API code generator produces constructors that are wrong in a few ways: * Members in the derived class that shadow members in the AllOf class...