Bug Report: The OpenApi @Schema "name" property does not rename annotated class attribute/FISH-5778 #5429
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
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
The text was updated successfully, but these errors were encountered: