Monthly Archives: January 2018

ASP.NET WEB API documentation using Swagger – Global operation for 500 response code

Some api responses, such as 500 – Internal server error is the same for all API endpoints. Let’s see how to implement this using Swashbuckle. Add below classes: Register new operation filter in SwaggerConfig.cs And after running the application, each … Continue reading

Posted in Documentation, WEB API | Tagged , | Leave a comment