26 Jul 2018
Sometimes you will be asked to provide the swagger url for your projects and other times you will be asked to provide the swagger.json file.
The person requesting it should know how to get it from the swagger url, but if you do have to provide the swagger.json file, here is how you do it.
Go to your swagger url:
https://yourdomain.com/swagger/ui/index
Then after swagger, remove ui/index and replace it with docs/v1
https://yourdomain.com/swagger/docs/v1
The text you will see on screen is the JSON content you need.
Copy the text and paste it into a new file, saving it as swagger.json
That's it. Simple as that.