Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
The `JsonPolymorphicAttribute.TypeDiscriminatorPropertyName` is nullable. When it's not provided, System.Text.Json defaults to `"$type"` per the documentation: > Gets or sets a custom type discriminator property name for the polymorhic type. Uses...
### What are you wanting to achieve? I want to authenticate via Azure B2C to test out my endpoints. ### What code or approach do you have so far? Here...
### Describe the bug   this is custom model binding  This is a generic custom model binding   There is no Request Body ### Expected behavior _No...
### Problem The problematic line is this: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/e727e8d53cd9f7edebe5faa6b8bf183e19afb0c6/src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGenerator/SchemaGenerator.cs#L416 This line properly generates subtype definitions but doesn't populate any of the `anyOf`/`oneOf` properties, resulting in a "broken" swagger document. Quoting the...
we are using the latest version of swashbuckle. I have this class ``` public class ListModel { public ModelType Model { get; } = ModelType.List; public string ContinuationToken { get;...
Hello, Knowing that the migration to `System.Text.Json` disabled the serialization of fields by default, I tried to re-enable it. The "Web API" way : ```csharp builder.Services.Configure(options => { options.JsonSerializerOptions.IncludeFields =...
I am doubtful that if this existing issue (https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2413, https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/329) will be reopened, so here I open a new one. OneOf is now supported by open-api standard. I believe this...
I am using asp.net core 3.1 with swashbuckle 5. I am not able tofind the way for defining base url. RootUrl option seem to be not coming or (may be...
### Describe the bug When Content-Type is set to multipart/form-data; version=1.0 If you use a swagger request, the data will be requested in the data format of a JSON object....
### Describe the bug No matter which naming policy is set in general JSON serializer options when using minimal APIs, Swashbuckle applies camel casing. It therefore does not comply with...