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
I'm currently using this tool to generate QHTTP server stubs and am having trouble getting it to generate xml code for models I have defined in my yaml file.
openapi-generator version
Pulled the latest docker image from docker hub
OpenAPI declaration file content or url
Attached the yaml code to this issue.
Generation Details
To generate the code, I run the following:
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate -i /local/ped.yaml -g cpp-qt-qhttpengine-server -o /local --additional-properties=withXml=true
Steps to reproduce
Generate the code
In the generated model files, you will only see "asJson" methods created
Bug Report Checklist
Description
I'm currently using this tool to generate QHTTP server stubs and am having trouble getting it to generate xml code for models I have defined in my yaml file.
openapi-generator version
Pulled the latest docker image from docker hub
OpenAPI declaration file content or url
Attached the yaml code to this issue.
Generation Details
To generate the code, I run the following:
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate -i /local/ped.yaml -g cpp-qt-qhttpengine-server -o /local --additional-properties=withXml=true
Steps to reproduce
Related issues/PRs
Suggest a fix