Category "swashbuckle"

How to declare Nullable response types in SwashBuckle (generating clients in NSwagStudio)

We use SwashBuckle to configure our AspNet Core (Service fabric) project to generate Swagger json and UI. Then we use NSwagStudio to generate typescript and C#

Swagger/Swashbuckle Authorize. Scopes checked by default

Is it possible to set an auth scope checkbox checked by default on Swashbuckle UI on a asp.net Core 2.0 Web API?? I use the "openid" scope and I'd like to have

How to include XmlComments for Swagger in only one API Controller (not all Controllers in the same project)?

I'm trying to add more information about one of my API routes using Swashbuckle. I only need to enable XML comments files in Swagger for one of my API routes. B

Swagger not loading - Failed to load API definition: Fetch error undefined

Trying to setup swagger in conjunction with a web application hosted on IIS express. API is built using ASP Net Core. I have followed the instructions prescribe

Different DocInclusionPredicate for different swagger document with Swashbuckle.AspNetCore

I'm trying to generate multiple swagger.json documents and using Customize the Action Selection Process to determine which action goes to which swagger document

Swagger c# ProduceResponseType for Wrapped AutoWrapper Response

As all of our responses are wrapped in AutoWrapper, what is the best way to tell swagger that they are wrapped by AutoWrapper ? Instead of adding this on every

Is there a way change the Controller's name in the swagger-ui page?

I'm using Swashbuckle to enable the use of swagger and swagger-ui in my WebApi project. In the following image you can see two of my controllers shown in the s

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 want to be able to submit POST actions and put enums accord

Swashbuckle and Web Api method with ModelBinder

I have a C# WebAPI project with a method that uses a custom ModelBinder for its input parameter. When I look at the Swagger UI that Swashbuckle generates, rathe

Swashbuckle - Add Model and Example values to Swagger UI from a Model from another project

I am using Swagger to document my .NET C# API and when my models are on another project Swagger just crashes and doesn't load anything. When I load the sample

Microsoft.OpenAPI examples or documentation?

Just tried to use Swashbuckle 5 rc2 + Microsoft OpenAPI implementation but struggling to make sense of how to inject the security requirements using the OpenApi