Forum Discussion

vasantraog's avatar
vasantraog
New Contributor
4 years ago

Override swagger default configuration url in dotnet core


1) I have a requirement to make my url to /swagger-ui/ instead of default url i.e (/swagger/index.html)
2) I want to override the /swagger/v1/swagger.json to /v1/apidocs

Basically, wanted to override the default configuration of swagger (open api 3.0.1) in dotnet core as i am using swashbu
example:- Convert /swagger/index.html to Iswagger-ui/

Convert /swagger/v1/swagger.json to /v1/apidocs

Any help will be appreciated !!!!