Swashbuckle.AspNetCore icon indicating copy to clipboard operation
Swashbuckle.AspNetCore copied to clipboard

Swagger tools for documenting API's built on ASP.NET Core

Results 332 Swashbuckle.AspNetCore issues
Sort by recently updated
recently updated
newest added

Hi, I am posting an object with property that is an array of objects. When I execute method I get an empty array/ienumerable for **"NestedList"** property even though I have...

needs investigation

[Beginning with .NET 7, System.Text.Json supports polymorphic type hierarchy serialization and deserialization with attribute annotations.](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-7-0) This PR adds support for `JsonPolymorphic` and `JsonDerivedType` attributes to `Swashbuckle.AspNetCore.Annotations` for .NET 7 and...

### Description I Get StackOverFlow Exception. And this isn't a dotnet bug. It happens everytime i add ```csharp services.AddSwaggerGen(options => { options.UseOneOfForPolymorphism(); // < -- this line }); ``` ```...

bug
help-wanted

In answer to [issue #2628](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2628), if the array's item type is nullable. the Item type will be nullable in generated open api

### Describe the bug I suspect that this change causes issues when an enum has multiple values with the same ordinal, and there is a `Dictionary` with that enum I'm...

bug

Rebases #2683 ## The issue or feature being addressed #2052 #2514 ## Details on the issue fix or feature implementation > This pull request fixes (reverts) the placement of the...

After updating from 5.6.3 to 6.x (tested both 6.1.0 and 6.0.7) when using the SwaggerDiscriminator attribute the "discriminator" field moved from `paths//responses//content/schema` into `/components/schemas/BaseType`. I.e. in the old code we...

help-wanted

### Describe the bug In 6.5.0 and prior you could use `WebApplication.CreateSlimBuilder` (which, among other things, doesn't add the `Regex` Route constraint due to it increasing the file size of...

bug
help-wanted

Raise a pull request to edit [getting-started-with-swashbuckle.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/getting-started-with-swashbuckle.md) once Swashbuckle.AspNetCore [6.6.1](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/19) is released to: 1. Remove the banner stating that .NET 8 is not supported. 2. Remove the reference to #1920....

documentation

### What are you wanting to achieve? Try to polymorphism work with source generator JsonDerivedTypeAttribute. The DiscriminatorValueSelector func only have subClass info ```C# public Func DiscriminatorValueSelector { get; set; }...

needs investigation
help-wanted
question