Converting from 1.5 to 2.0 (OpenApi)

51 views
Skip to first unread message

Thomas Vennström

unread,
Oct 30, 2018, 10:52:18 AM10/30/18
to Swagger
Hi 

I'm trying to upgrade our swagger annotations from 1.5 -> 2.x
Our methods returns JSON objects that today uses ApiModel and ApiModelProperty annotations.

How to I change the annotations 

@ApiModel -> corresponds to?
@ApiModelProperty -> corresponds to?
@ApiOperation -> @Operation ?

Thanx
Thomas




Thomas Vennström

unread,
Nov 5, 2018, 5:17:22 AM11/5/18
to Swagger
Nothing????
The ApiModel/ApiModelProperty is really causing some concern. The XmlElement tag is not sufficient as I cannot add a description to it.
Anyone???

Br
Thomas
Reply all
Reply to author
Forward
0 new messages