SwaggerPlugin for Swagger 2.0

47 views
Skip to first unread message

Vlad Pop

unread,
Nov 22, 2015, 4:35:02 AM11/22/15
to RestExpress
I am planning to rewrite the SwaggerPlugin in order for it to output Swagger 2.0 compliant schemas. From what I saw, we only need to change the com.strategicgains.restexpress.plugin.swagger.domain files, the plugin and model resolver should not change and the controller should use the new domains. Is there anything else?

BTW, Is there someone already working on this?

Todd Fredrich

unread,
Nov 22, 2015, 12:03:56 PM11/22/15
to RestExpress
Hi Vlad,

Your summary sounds about right. There might be some new annotations or features on the existing annotations in the Swagger Java library to implement too, but I haven't checked.

No-one is currently working on this to my knowledge. I suggest either a new swagger20 plugin or a new branch so we can have support for both 1.1 and 2.0 for now.

Thanks,
--Todd

Vlad Pop

unread,
Nov 22, 2015, 1:02:20 PM11/22/15
to RestExpress
Okay. I plan to do this in December, whenever I have some free time, so expect it after the Holidays :)
Reply all
Reply to author
Forward
0 new messages