OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
[ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
If path contains several parameters, only the first parameter is assigned the correct schema, the remaining parameters are all assigned the Any type.
If the parameter is an array, this information is lost. In the generated Python client api, the parameters are therefore not declared in the "_collection_formats" variable. Arrays are therefore not serialized properly!
openapi-generator version
Tested with all versions 7.4.0 and higher
OpenAPI declaration file content or url
Excerpt from my the openapi 3.1 json file. Generated by python Litestar Framework
Path /apps.
A number of apps should be displayed. Several id filters are available for selection
Bug Report Checklist
Description
If path contains several parameters, only the first parameter is assigned the correct schema, the remaining parameters are all assigned the Any type.
If the parameter is an array, this information is lost. In the generated Python client api, the parameters are therefore not declared in the "_collection_formats" variable. Arrays are therefore not serialized properly!
openapi-generator version
Tested with all versions 7.4.0 and higher
OpenAPI declaration file content or url
Excerpt from my the openapi 3.1 json file. Generated by python Litestar Framework
Path /apps. A number of apps should be displayed. Several id filters are available for selection
Generation Details
The python.yml.proc.yml file contains:
Result: Excerpt:
Steps to reproduce
Related issues/PRs
Suggest a fix