[BUG] Using the builder setter and setting JsonProperty Access will result in enumerating recursively the current type
fangzhengjin opened this issue · comments
ZhengJin commented
Describe the bug
Using the builder setter and setting JsonProperty Access will result in enumerating recursively the current type.
To Reproduce
public class ResourceSearchVO implements Serializable {
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private ResourceEnum type;
public ResourceEnum getType() {
return type;
}
public ResourceSearchVO setType(ResourceEnum type) {
this.type = type;
return this;
}
}
Additional context
springdoc-openapi: 2.5.0
ZhengJin commented
Badr NASS LAHSEN commented
Thanks for sharing.
This is a swagger-core bug, and once it's fixed we will integrate it.