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)
##### Description With the following spec: ```yaml ... components: securitySchemes: Apikey: type: apiKey in: header name: apikey Loginkey: type: apiKey in: header name: loginkey ... ``` Kotlin generator produces this:...
#### Bug Report Checklist - [X] Have you provided a full/minimal spec to reproduce the issue? - [ ] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/swagger-parser/online/))? -...
Using the current master commit 7e87b5d109193ef764cc5ebe7cc08204333f0344 with PowerShell, the files under python-experimental are too long too be processed. This makes working with the repo difficult. ```powershell PS ~\projects\experiments\openapi\openapi-generator> git stash...
```js const init: RequestInit = { ...overridedInit, body: isFormData(overridedInit.body) || overridedInit.body instanceof URLSearchParams || isBlob(overridedInit.body) ? overridedInit.body : JSON.stringify(overridedInit.body), }; ``` Here, you can see the request body is stringified,...
This change addresses https://github.com/OpenAPITools/openapi-generator/issues/11462. Prior to this change, the dart generator would not properly handle DateTime arrays. Instead, it would generate code that relies on a method that doesn't exist...
Fix #13291 ### 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...
I've added the inner class. The static * import for the delegate was the only solution I found for importing them. ### PR checklist - [x] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md)....
Fixes #13200 see bug report for details about the issue To validate the work run the OpenApi spec provided in the bug report. Remember to set `useSingleRequestParameter` as described in...
##### Description Pydantic offers a clean model api with fast validation. It would be a nice enhancement to generate such models from openapi specs. ##### openapi-generator version ##### OpenAPI declaration...
##### Description We have a REST endpoint where users can upload files of various content types. The user supplies the content type in the header. This supplied header value is...