Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
Added support to inject a ISwaggerDocumentSerializer implementation, which can be called to manually serialize an OpenAPIDocument object. - Resolves #2668 - Resolves #2700 - Resolves #2105
It seems like `[FromQuery(Name = "xyz")]` is not respected for complex objects, such as classes in the following example: ```cs public class MyParameter { public string Input { get; set;...
I'm not sure if this is a feature request, or just a question. I don't mind doing more research if I've got an idea if its possible, and get an...
I have and endpoint which uses a custom model binder that decrypts a string to an integer id (decryption use authenticated user session data) for a given parameter: ```c# ///...
I am using C# 8 with `Swashbuckle.AspNetCore.Swagger`, `Swashbuckle.AspNetCore.SwaggerGen` & `Swashbuckle.AspNetCore.Annotations` at version `6.5.0` Using what seems to be appropriate configuration (documentation is terrible), I have implemented OpenId as an authorization...
The published binaries and code are starting to get bloated with adding support for .NET 8 for #2792, so we should look to remove support for target frameworks that are...
When JsonDictionaryHandler sets the OpenApiSchema.AdditionalProperties, that OpenApiSchema will have AdditionalPropertiesAllowed == false. This in turns will add "additionalProperties": false to every AdditionalProperties-entry in the generated swagger. Probably not a big...
Consider adding tooling such as https://github.com/VerifyTests/Verify to create snapshot tests of generated schemas to provide a more comprehensive regression test suite.
In a reverse-proxy environment, the base path can often include multiple segments: ``` https://myapi.com/some/root/path ``` The correct way to set up custom base paths is to use [`app.UsePathBase`](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.builder.usepathbaseextensions.usepathbase?view=aspnetcore-2.2): ```c# //...
This is a naive pr to try to solve #2679 all tests pass (but the one that was already failing before my change) i would gladly add a test to...