-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] [GO] can't generate codes with xml tag #4733
Comments
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
Don't think this will work. Can you try I can confirm the templates still use
|
@wing328 Although tried
What's your openapi-generator version? BTW, the reason why i used
|
That's what we use in the Go Petstore (xml) shell script so it looks to me the following is correct: |
Just did a test with the following and it works for me:
and here is the Pet model:
Can you try the latest stable docker image instead? |
If it's still an issue, please ping me via Slack. Closing this for the time being. |
Bug Report Checklist
Description
even though i use
withXml=true
, can't generate codes with xml tag .actual:
expected(like this):
My Go version:
go version go1.12.13 darwin/amd64
openapi-generator version
v4.1.2
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
please paste the above yaml, then docker run.
Related issues/PRs
#490
Suggest a fix
The text was updated successfully, but these errors were encountered: