Forum Discussion

rajiadi's avatar
rajiadi
New Contributor
2 years ago

Integrating Swagger with Jersey 2.x

Hi, I need some help with integrating swagger in Jersey 2.x JAX-RS. Specifically I want to know if we can configure the swagger endpoint to be something other than rest/swagger.json. For instance, could it be, api/myprojectfolder/myclass/swagger.json? 
Also, it shows errors like, unable to render swagger definitions, use swagger version 2.0 or higher etc. If anyone faced these issues, could you please share some fixes/resources.
Thanks

3 Replies