-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
I have an object defined as this:
public class CreationDTO {
@ApiModelProperty(required = true)
@JsonProperty("users")
private Set<Integer> users;
}That object is shown in the UI as:
{
"users": [0]
}But I want it to be displayed as:
{
"users": [1,2]
}Is there a way to provide an example value for a container? I know there is an "example" property but it only accepts strings as values.
Thanks!
Reactions are currently unavailable