Monthly Archives: czerwiec 2021

How to configure Swagger in a .net core API from scratch

As a developer I often use some code from other projects. This is a pretty convenient and productive way to deal with issues or things to tackle. However, sometimes there is a case when you have to setup something from scratch and you want to do it step by step without copying solution from other projects. The reasoning is that in other projects there are customisations which you don’t want to use and you don’t remember if they are necessary for the functionality you crave for. This is my case when it comes to Swagger as it is something that you setup once and forget.