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
{{ message }}
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
When generating a Python client from specs where a API request body has a field named args defined, the generated model file corresponding to the Request Body object contains the following error: Duplicate parameter "args"
Bug Report Checklist
Description
When generating a Python client from specs where a API request body has a field named
argsdefined, the generated model file corresponding to the Request Body object contains the following error:Duplicate parameter "args"openapi-generator version
6.2.1
OpenAPI declaration file content or url
pythonbug.yaml
Generation Details
Steps to reproduce
openapi-generator-cli generate -g python -i pythonbug.yaml -o python_clientRelated issues/PRs
Suggest a fix
Add
argsto reserved wordsOriginal bug from: OpenAPITools/openapi-generator#13954