openapi-generator icon indicating copy to clipboard operation
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)

Results 1209 openapi-generator issues
Sort by recently updated
recently updated
newest added

I run generation using `openapitools/openapi-generator-cli`. ```js const DOCKER_IMG = 'openapitools/openapi-generator-cli'; const API_PATH = 'api/api.yaml'; const TEMPLATES_PATH = 'templates'; const IGNORE_FILE = '.openapi-generator-ignore'; const child = spawn('docker', [ 'run', '--rm', '--net=host',...

Issue: Bug

##### Description When enum values are parsed with the Java parser, they get messed up in the generated code. For example: - "R2D2" becomes "R2_D2" in Java code - "U2F"...

Issue: Bug

When I generate sever stub for spec having OneOf tags, the code generation gradle task is successful , but in the generated models package OneOf*.java classes are missing. I am...

Issue: Bug

When using the Kotlin multiplatform generator, there will be a "HttpBasicAuth.kt" file containing the following import `import io.ktor.util.InternalAPI` which needs to be removed or updated to `import io.ktor.util.io.InternalAPI` when using...

Issue: Bug

#### Bug Report Checklist there is missing `java.util.function.Function` import for: ```java public final static Map VALUE_MAPPING = Map.copyOf(Arrays.stream(values()) .collect(Collectors.toMap(v -> v.value, Function.identity()))); ``` it happened in `CustomerCreateDTO` when I use...

Issue: Bug

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

Issue: Bug

##### Description For routes defined as the following ``` getPost/latest getPost/{postId} ``` and stored in a type defined as: ``` // Routes is a map of defined api endpoints type...

Issue: Bug

The generated code of Csharp get a fully quallify namespace for PATH using Path = global::System.IO.Path; ### PR checklist - [X] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md). - [X] Pull Request title...

Client: C-Sharp
Enhancement: General

Related issue: #19425 contains example OpenAPI file and describes the problem ### 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...

Issue: Bug
Server: Java
Server: Spring

#### 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/))? - [...

Issue: Bug