You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to expose the routes which give back the swagger.json documents for an ASP.Net 6 web api, in the generated swagger.json itself. I just need to see the swagger generation route used to generate the JSON document, alongside the other endpoints of my API.
I tried both app.UseSwagger and app.MapSwagger but the route template (containing the {documentName} token) never make its way to the Operations parsed by Swashbuckle.
How can I achieve this goal ?
Thx !
The text was updated successfully, but these errors were encountered:
I am trying to expose the routes which give back the
swagger.json
documents for an ASP.Net 6 web api, in the generatedswagger.json
itself. I just need to see the swagger generation route used to generate the JSON document, alongside the other endpoints of my API.I tried both
app.UseSwagger
andapp.MapSwagger
but the route template (containing the{documentName}
token) never make its way to the Operations parsed by Swashbuckle.How can I achieve this goal ?
Thx !
The text was updated successfully, but these errors were encountered: