Hi,
I'm trying to produce a schema with some required attributes annotating my pojo with @JsonProperty(required = true).
My problem is that in the output I cannot find the "required" array attributes (only the required mark in each property). E.g:
my pojo
public class MyPojo {
@JsonProperty(required = true)
public String url;
@JsonProperty(required = true)
public String access_token;
}
Hi, I'm trying to produce a schema with some required attributes annotating my pojo with
@JsonProperty(required = true)
. My problem is that in the output I cannot find the "required" array attributes (only the required mark in each property). E.g:my pojo
output schema
Where am I wrong?