Releases: domaindrivendev/Swashbuckle.AspNetCore
v6.5.0
v6.4.0
v6.3.1
v6.3.0
v6.2.3
v6.1.3
Upgrade swagger-ui to 3.47.1 + prep for next release
v6.1.0
Support DefaultValueAttribute on parameter-based schemas
v6.0.0
This release includes a number of small enhancements and bug fixes. See the following for a full list of issues addressed:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/16?closed=1
Of note, these include:
- include discriminator metadata in base schema if either UseOneOfForPolymorphism OR UseAllOfForInheritance are enabled
- remove fragile logic around X-Forwarded-* headers in favor of MS's Forwarded Headers Middleware (*see breaking changes)
- beta (opt-in) support for non-nullable reference types
- enhancements to SwaggerSchemaAttribute incl. use on Enum types & ability to set Nullable flag explicitly
- wrap generator exceptions to surface contextual info for troubleshooting
- support JSON object/array syntax in XML tags
- improved handling for enum default values to reflect serializer behavior more accurately
- upgrade swagger-ui to 3.40.0
Breaking Changes
- the obsolete settings
DescribeAllEnumsAsStrings
andDescribeStringEnumsInCamelCase
are now fully removed - X-Forwarded-* headers are no longer honored within SB code - use MS's Forwarded Headers Middleware instead
v5.6.0
This release includes a number of small enhancements and bug fixes. See the following for a full list of issues addressed:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/15?closed=1
Of note, these include:
- Improve polymorphism & inheritance behavior, incl. more flexible config & discriminator metadata
- Better support for reverse proxy environments, incl. assigning
servers
metadata based on the presence of common reverse proxy headers - Support for emitting Swagger / OpenAPI in yaml format
- Improve Schema generation for
ProblemDetails
- Handle Min/MaxLength attribute for arrays
- Upgrade swagger-ui to v3.32.5
- Upgrade redoc to v2.0.0-rc.40
v5.5.0
These release is primarily to improve compatability of the CLI tool with different versions of the dotnet
SDK, but also contains a few other minor fixes and enhancements, including an upgrade of the embedded swagger-ui to version 3.26.0
.
Addressed issues:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/14?closed=1