Add Swagger to your .NET Core Web API

Last week .NET Core was released, and the first thing I tried to solve was how to Add Swagger to your .NET Core Web API: 1. Dependencies# At the time of writing you should add the following dependency to your project.json file 1 "Swashbuckle": "6.0.0-beta901" 2. Using statement# In your Startup class add the following...

Remove RavenDb's API from Swagger

I’ve been working on a small IoT project where we expose a simple REST API and use RavenDB Embedded as the database. Once we enabled Swagger on our project we noticed that the generated documentation was not only showing our API but those exposed by RavenDB too. So the question came up: how can we Remove RavenDb’s API...