Skip to main content

aspnetcore

Remove RavenDb's API from Swagger
·156 words·1 min
dotnet aspnetcore 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 from Swagger Documentation?