Hey I am get the following error when trying to add swagger to the api Can't read swagger JSON from <http://192.168.66.128/api/swagger.json>
. Any ideas why swagger.json is not found or how I can debug this?
Okay I realised that since I have got an nginx reverse proxy which serves /api requests for the api then the url for the swagger.json becomes <http://192.168.66.128/api/api/swagger.json>
. Now my question is how can I force the swagger to use the spec in /api/swagger.json but without creating another api folder?
Nvm realised there is a basePath param :))