swagger-2.0

How to change https://<your-url>/swagger to custom in Swagger

余生长醉 提交于 2020-08-06 12:16:48
问题 I was tasked to install Swagger into Web API project. Installed: most recent version of Swashbuckle from nuget. (Swashbuckle.Core.Net45 and Swashbuckle.Net45) Customized: App_Start\SwaggerConfig.cs. I was able to customize (change styles, added logo, modified descriptions).. Now we need to change from https://[your-url]/swagger to https://[your-url]/help Please advise 回答1: Change routePrefix of SwaggerUIOptions parameter, default is "swagger" 回答2: How about following the documentation? In