[BUG] [JAXRS-JERSEY] - Openapi code generation for jaxrs-jersey is not generating xml tags withXml option.
Created by: jothi-prasad
Bug Report Checklist
- [YES] Have you provided a full/minimal spec to reproduce the issue?
- [YES] Have you validated the input using an OpenAPI validator (example)?
- [YES] What's the version of OpenAPI Generator used? 5.0.0-Beta
- [YES] Have you search for related issues/PRs? YES - https://github.com/OpenAPITools/openapi-generator/issues/4733
- [YES] What's the actual output vs expected output? expecting it to gerenarate XML tags in model classes but it is not.
-
[Optional] Bounty to sponsor the fix (example)
Description
i am trying to generate a jaxrs-jersey server stub with openapi-generator-cli.jar from CLI but the model files are not produced with xml tags. i need to produce XML content.
iam seeing this exact same issue thats discussed in this ticket https://github.com/OpenAPITools/openapi-generator/issues/4733 i am not able to generate xml tags with java -jar openapi-generator-cli.jar generate -i ./userapi-1.3.0.yaml --additional-properties withXml=true -g jaxrs-jersey
can you help solve this problem? i am using https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/5.0.0-beta/openapi-generator-c...
openapi-generator version
5.0.0-beta
OpenAPI declaration file content or url
Generation Details
i am using the following CLI command java -jar openapi-generator-cli.jar generate -i ./userapi-1.3.0.yaml --additional-properties withXml=true -g jaxrs-jersey
Steps to reproduce
Related issues/PRs
https://github.com/OpenAPITools/openapi-generator/issues/4733