OpenAPITools / OpenAPITools/openapi-generator
qt5 client does not support polymorphism -- WIP. Continue this after issue 1284 is resolved
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
I have a swagger API that has polymorphism. The qt5 client does not support this use case.
openapi-generator version
master from git repository
OpenAPI declaration file content or url
I will submit a pull request. In the branch /cpp-qt5-client-hierarchy from tor my fork at Wendell/Duncan/openapi-generator
Command line used for generation
java org.openapitools.codegen.OpenAPIGenerator generate -i ~/Downloads/hardwareapi-formattedswagger.json -o ~/ProbeBuilder/Modules/HardwareApi --model-name-prefix HardwareApi -g cpp-qt5 -Dmodels -DsupportingFiles -DcppNamespace=HardwareApi
Steps to reproduce
The generated code does not support polymorphism in the source swagger file
Related issues/PRs
Suggest a fix/enhancement
I have a pull request.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing issue 1284 and the cpp-qt5-client-hierarchy branch in Wendell/Duncan/openapi-generator. Run the provided cpp-qt5 generation command with the referenced hardwareapi-formattedswagger.json, then compare the generated client with the polymorphic declarations. Done means the Qt5 client supports the issue's polymorphism use case, but the issue does not specify tests or files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, java, openapi
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100