Hi team,

This is Karnam, working as Sr.Java Dev in reputed company. Had faced the 
problem with API Versioning with multiple same request paths with different 
Accept media content, right now i am using spring boot with swagger 2.0, 
the dependencies i am using are springfox-swagger and ui with 2.5.0 
version. 

my rest controller looks like this: 
1. @RequestMapping(value = "/getUserDetails", method = RequestMethod.GET, 
produces = "application/vnd.company.app-v1+json")

2. @RequestMapping(value = "/getUserDetails", method = RequestMethod.GET, 
produces = "application/vnd.company.app-v2+json") with additional params

But I can see only the application/vnd.company.app-v2+json in the Response 
Content Type drop down box.


am i doing anything wrong in the code or is issue with swagger?

Thanks in advance.


-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to