Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
A .NET 7 app can be published as a native executable by setting `true` in the csproj. I noticed in my test app that the Swagger UI middleware is broken...
hi I recently updated to version 6.4.0, but the runtime gives an error of 500.30 in the publish?! Windows server specifications: windows server 2016 microsoft net core runtime v6.0.10 microsoft...
I have created an API operation which, among other file formats, returns plain text files with ISO-8859-1 (latin-1) encoding. A direct link to the API operation correctly downloads the file...
There is are mentions in the documentation for how to block access to the UI but nothing I can find either here, at stack overflow or google that explains how...
I'm using version 6.4.0 from Nuget. The generated `swagger.json` file exposes responses with `application/json` although the application returns `application/json; charset=utf-8`. This cause strict clients to reject the response as the...
Hi, I am working on a code base that is generating a swagger document correctly. All of the endpoints have HTTP responses which is referencing #/definitions/HttpError. However, HTTPError is missing...
Package(s): Swashbuckle.AspNetCore.* Version: 6.3.0 Forcing Swagger to render as V2: c.SerializeAsV2 = true; Consider this example controller action: // GET api/v1/mgmt/ /// Retrieve the operation status for the Operation ID...
I have an ISchemaFilter where I manually generate some addition schemas from some types and then add those returned schemas to the `OneOf` property. This generated .json output does not...
In my project we do not distinguish between `required` and `nullable: false`. If a type is non-nullable, it is also required. This is regardless if it is a value type...
Hi, I have a minimal api in .net 7, I used `WithSummary()` and `WithDescription()` bur it doesn't generate anything in swagger ui! ``` csharp app.MapGet("/api/v{version:apiVersion}/weatherforecast/byid", () => { return new...