I have a Map property in my java project:
    @ApiModelProperty(value = "Years")
    private Map<String, String> yearPayments;



Swagger-ui displays the following:
JSONElementExample {
...
yearPayments (inline_model, optional): Years
}



How to annotate the property to get correct view of Map? Is there the right 
way or workarounds?

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to