Open silvafabio opened 3 years ago
Hi @silvafabio, I am able to reproduce this issue. I have raised an internal issue with JIRA FISH-5778. Thanks. It may take a while to fix the issue. You are free to submit a PR to fix this issue if you feel confident to do so.
Description
When annotate an class attribute with @Schema(name = "newName") the attribute appear twice at the generated documentation, one with old name and one with the new name.
Expected Outcome
Only one occurence with the new name.
Current Outcome
Appear twice at the generated documentation, one with old name and one with the new name.
Steps to reproduce
Reproduce project attached.
payara-openapi-schema-name-error.zip
Run the project and call /openapi endpoint.
Environment