rest-api

asp.net core

Manually creating a Swagger document in C# using Microsoft OpenAPI.NET

If you are using the OpenAPI standard for your Rest API's on .NET Core you will probably be familiar with the Swagger tools that enable you to quickly generate definitions for your Web API endpoints. With a few lines of code you can enable Swagger and Swagger-UI using the awesome Swashbuckle project…

2 min read