Location swagger.json when creating with Swashbuckle

When I create and run my Azure Web API, I get a good swaggerUI.

I want to add an API to the Azure Management API.

To do this, I need either a URL or a swagger.json file.

Where does Swashbuckle put the file?

Or, if it generates it on the fly, how can I access it?

+4
source share
1 answer

The Swagger.json file must be available at [yourwebsitedomain] / swagger / docs / v1

There should also be a link to the swagger.json file at the top of the Swagger interface

+13
source

Source: https://habr.com/ru/post/1662561/


All Articles