swagger-codegen icon indicating copy to clipboard operation
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.

Results 498 swagger-codegen issues
Sort by recently updated
recently updated
newest added

##### Description Unable to set accept header ##### Swagger-codegen version 3.0.46 ##### Swagger declaration file content or url https://digital.nhs.uk/restapi/oas/357490 ##### Command line used for generation java -jar /tmp/swagger-codegen-cli-3.0.46.jar generate -i...

##### Description Currently, there's no way to disable validation in the API clients and therefore we cannot use the API clients to perform integration tests with the RESTful backend (e.g....

Enhancement: Feature
help wanted
Feature List: API clients

Attempting to compile oracle supply chain swagger file https://docs.oracle.com/en/cloud/saas/supply-chain-and-manufacturing/23c/fasrp/openapi.json using config { "apiPackage": "com.company.oraclefin.supplychain.pojo", "modelPackage" : "com.company.oraclefin.supplychain.model", "groupId": "company.financials", "artifactVersion": "sep-2023-jakarta", "language" : "java", "artifactId" : "OracleFinancialsSuppyChainApi", "jakarta" : "true",...

##### Description using java8 has no effect at all. the code generated always uses org.threeten.bp.OffsetDateTime. ##### Swagger-codegen version 2.4.13 ##### Command line used for generation ` reference-data generate ${project.basedir}/src/main/resources/swagger/reference-data-api-2020-04-16.yaml java...

### 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,...

In the coming major release 2.2.0, we want to remove {{generatedDate}} from the mustache template as this will introduce a lot of noise when it comes to reviewing the auto-generated...

Enhancement: Feature
help wanted

With this little change in test/resources/3_0_0/petstore.yaml ```yaml Dog: allOf: - type: object properties: bark: type: boolean breed: type: string enum: [Dingo, Husky, Retriever, Shepherd] - $ref: '#/components/schemas/Pet' Cat: allOf: -...

I tried to generate an OpenApi definition using a nested object with a field marked as required and a field marked as optional but it hasn't worked as intended. This...

##### Description When a model is generated for a schema defined as an enum with type `integer` a class constant is included for each value. These constants will use the...

##### Description Enum are generated without underscore expected output ``` export enum ActionLogTypeEnum { REGIMEN_CHANGE = 'REGIMEN_CHANGE', INSTRUCTION_CHANGE = 'INSTRUCTION_CHANGE', INSTANT_CHECKUP_DELETE = 'INSTANT_CHECKUP_DELETE', INSTANT_CHECKUP_TYPE_CHANGED = 'INSTANT_CHECKUP_TYPE_CHANGED' } ``` actual output...