Generating separate json for same api resource

31 views
Skip to first unread message

Shuvaday Chatterjee

unread,
May 23, 2016, 8:39:00 AM5/23/16
to Swagger
Hello All

I have a requirement to generate two swagger files for a resource class ,one with all the apis and one with selected apis.
How can this be achieved.

Thanks in advance.

tony tam

unread,
May 23, 2016, 11:29:03 AM5/23/16
to swagger-sw...@googlegroups.com
--
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-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shuvaday Chatterjee

unread,
May 27, 2016, 2:17:16 AM5/27/16
to Swagger
Hi Tom

I guess this solution is not sufficing my requirement.The interface u mentioned is used to filter some of the parameters(correct me if i am wrong).But i need to generate two swaggers one with all apis and other with selected. :(
I can filterout apis using @ApiOperation(hidden=true),but how to generate two separate swaggers ?

Thanks
Reply all
Reply to author
Forward
0 new messages