You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
ryou90
changed the title
[BUG] Description
[BUG] [Python] Path contains several parameters, only the first parameter is assigned the correct schema
Jul 3, 2024
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
The text was updated successfully, but these errors were encountered: