简体   繁体   中英

Error Link on Swagger UI

My SwaggerUI works like a charm, but why I'm getting an additional Error section on the page? Not able to find out the exact source of it ie why it is coming.

I got the issue with my SwaggerUI. I had implemented an ErrorController to override the way WebApi handles bad request. It was this controller which was appearing in the API documentation. I hided this controller from the the API documentation using IngnoreApi attribute. More details here https://github.com/domaindrivendev/Swashbuckle/issues/90

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM