We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
When using @JsonProperty to change the property name, the Javadoc description is lost in the OpenAPI documentation generated by springdoc-openapi.
@JsonProperty
springdoc-openapi
To Reproduce Steps to reproduce the behavior:
@RestController public class TestController { @PostMapping("/springdoc/test") public void test(@RequestBody TestRequest request){ } @Data static class TestRequest { /** * aa */ @JsonProperty("b") private String a; } }
Expected behavior
The Javadoc descriptions for properties should be retained in the OpenAPI documentation even when using @JsonProperty to change property names.
Screenshots If applicable, add screenshots to help explain the problem.
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@wangxing-git,
This is a duplicate of #2315 I have implemented a fix for it.
Sorry, something went wrong.
Support for @JsonProperty with Javadoc Change in springdoc-openapi. F…
1acbf20
…ixes #2438, #2315
No branches or pull requests
Describe the bug
When using
@JsonProperty
to change the property name, the Javadoc description is lost in the OpenAPI documentation generated byspringdoc-openapi
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Javadoc descriptions for properties should be retained in the OpenAPI documentation even when using
@JsonProperty
to change property names.Screenshots
If applicable, add screenshots to help explain the problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: