-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Wrong doc when use @Accessors(chain = true) with JsonProperty.Access.WRITE_ONLY #994
Comments
Not reproducible. |
Demo project : https://github.com/John-Chan/springdoc-issue994 $ diff UserA.java UserB.java
7d6
< import lombok.experimental.Accessors;
19c18
< @Accessors(chain = true)
---
> //@Accessors(chain = true)
21c20
< public class UserA implements Serializable {
---
> public class UserB implements Serializable {
|
please check my demo project @bnasslahsen |
First i note that you haven mentioned lombok You could remove chain = true as workaround. Or add the missing setter manually. |
Describe the bug
code
swagger-ui
If I remove
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
,Additional context
springdoc-openapi.version
:1.5.0
spring-boot.version
:2.3.5.RELEASE
The text was updated successfully, but these errors were encountered: