Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
### Is your feature request related to a specific problem? Or an existing feature? Currently, in ASP.NET Core, the [ProducesResponseType], [Produces], and [ProducesDefaultResponseType] attributes enrich OpenAPI documentation by specifying response...
### What are you wanting to achieve? paths: get: summary: Example endpoint parameters: - name: optionalParam in: query required: false schema: type: string responses: '200': description: Successful response I am...
### What are you wanting to achieve? I have an integer public int[] array {get; set;}. I have used Maximum and Minimum length to specify a range for the array....
### What are you wanting to achieve? Because of some requirements, I want to specify max and min values of decimal and double datatype for both of them but in...
Upgrade to Microsoft.OpenApi v2, which would unlock support for OpenAPI 3.1. Contributes to #2349. This currently targets preview 5 and compiles, but **lots** of tests are broken. The migration was...
### Describe the bug Before the package was upgraded to 7.0.0, the example value used to show the the type of the parameter and now it doesn't. So it's prone...
### What are you wanting to achieve? I'm having trouble setting the default values for collection fields. Since the creation of a reference type isn't a compile-time expression I can't...
#2798 drops support for _most_ out-of-support versions of .NET, but to give users time to react, version 7.0.0 retains support for `net6.0` even though by the time it ships .NET...
[Bug]: Array parameter in `multipart/form-data` does not explode when it's part of a complex object
### Describe the bug When the request body is `multipart/form-data`, and it contains an array parameter which is part of a complex object, the array parameter does not explode, but...
### Describe the bug originally discussed in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2884 fixed with: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/2890/files#diff-797869ba51539b79a9ed73d460675cc6d1c8ceab044a7383a2ebf81a34c6f7d4R12 the fix was to add a bunch of types, but the approach documented for modifying the theme is not...