Wednesday, February 12, 2020

Swagger - Observations (Screenshots)

Swagger UI


Configuration in the startup - 1

Configuration in the startup - 2


Inject human friendly description



Swagger - Observations

Swagger is a framework for documenting REST API

Nuget package Swashbuckle.AspNetCore helps to configure swagger on .NET core web api

Swagger Generator helps to configure documentation title, description, contact details etc

Human friendly description can be injected for Web API methods. This is by including XML comments.