Add Swagger to your .NET Core Web API

Add Swagger to your .NET Core Web API Last week .NET Corewas 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 …

Remove RavenDb's API from Swagger

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 Swaggeron 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 …