Fork me on GitHub
#ring-swagger
<
2018-06-15
>
Andreasp199419:06:14

Hey I am get the following error when trying to add swagger to the api Can't read swagger JSON from . Any ideas why swagger.json is not found or how I can debug this?

Andreasp199420:06:53

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 . Now my question is how can I force the swagger to use the spec in /api/swagger.json but without creating another api folder?

Andreasp199420:06:37

Nvm realised there is a basePath param :))