Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
### Describe the bug I had a function on a controller with a signature public async Task LookupOrCreateFoo(ScanFooResponse scanFooResponse, IProfileOperations profileOperations, Func getInvoice) that just by the virtue of existing...
# Pull Request ## The issue or feature being addressed *Instead of opening an issue I made a PR with a failing test and a possible fix* When using CamelCasePropertyNamesContractResolver,...
### To replicate: 1. Create a new `ASP.NET Core Web API` project. ``` dotnet new webapi ``` 2. Set `` to `true` in `.csproj`. 3. In `Program.cs`, replace `builder.Services.AddSwaggerGen();` with:...
### Describe the bug in version 6.5 of Swashbuckle.AspNetCore the swashbuckle UI generates a request like the following ```text ------WebKitFormBoundarytyM4fpDlZaqBRSR9 Content-Disposition: form-data; name="file"; filename="PMS-Project Core-250624-120110.pdf" Content-Type: application/pdf ------WebKitFormBoundarytyM4fpDlZaqBRSR9 Content-Disposition: form-data;...
Fixes #2597. This will recursively scan the XML documentation to gather the first property/attribute that contains the needed value. This change would work automatically without the user having to do...
### Describe the bug For an endpoint that accepts a file, the title, and a description in multiple languages I use this method `public async Task UploadImage([FromForm] string title, [FromForm]...
### Describe the bug Given XML comments like ```c# /// /// /// If the user already exists, returns an HTTP 409 and the existing user profile. If the /// user...
Please excuse, if this is not the right spot to post. It is unclear if I just don't know how to use the api correctly, if swashbuckle is missing a...
I implemented my own ISchemaFilter for a class I created. The `public void Apply(OpenApiSchema schema, SchemaFilterContext context)` method is only called once for that type, for the type itself, and...
### Is your feature request related to a specific problem? Or an existing feature? #3007 flagged that IdentityServer4 is completely deprecated and contains a number of vulnerabilities that cause errors...