Top "Swashbuckle" questions

Swashbuckle is an open source framework which adds Swagger and Swagger-ui to ASP.

ASP.NET Core - Swashbuckle not creating swagger.json file

I am having trouble getting the Swashbuckle.AspNetCore (1.0.0) package to generate any output. I read the swagger.json file should …

c# asp.net-core swagger swashbuckle
Swagger UI Web Api documentation Present enums as strings?

Is there a way to display all enums as their string value in swagger instead of their int value? I …

c# asp.net-web-api asp.net-web-api2 swagger-ui swashbuckle
500 Error when setting up Swagger in asp .net CORE / MVC 6 app

I'm trying to setup a basic swagger API doc in a new asp .net CORE / MVC 6 project and receiving a 500 …

asp.net-core-mvc swashbuckle
Swashbuckle/Swagger + ASP.Net Core: "Failed to load API definition"

I develop an ASP.NET Core 2 application and included Swagger. Everything worked fine until I introduced a method without explicitly …

c# asp.net-core swagger swashbuckle
How to configure Swashbuckle to ignore property on model

I'm using Swashbuckle to generate swagger documentation\UI for a webapi2 project. Our models are shared with some legacy interfaces …

c# asp.net-web-api swagger swashbuckle
Can't read from file issue in Swagger UI

I have incorporated swagger UI in my application. When I try and see the swagger UI, I get the documentation …

swagger-ui swashbuckle
Swashbuckle parameter descriptions

I'm using SwaggerResponse attributes to decorate my api controller actions, this all works fine, however when I look at the …

c# swagger swashbuckle
swagger error: Conflicting schemaIds: Duplicate schemaIds detected for types A and B

Using Web API and using swashbuckle to generate swagger documentation, I defined two different classes with the same name in …

c# asp.net-web-api asp.net-web-api2 swagger-ui swashbuckle
Migrating to Swashbuckle.AspNetCore version 5

I'm trying to migrate from version 4.0.1 to 5.0.0-rc2 of Swashbuckle in a .NET Core 3 Preview 5 Web API project. I've got …

c# swagger-ui swashbuckle
How to send Authorization header with a request in Swagger UI?

I have a ASP.NET Web Api 2 application. I added Swashbuckle to it (Swagger for .NET). It displays my endpoints …

swagger swagger-ui swashbuckle swagger-2.0