Update dependency Swashbuckle.AspNetCore to v10
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| Swashbuckle.AspNetCore | nuget | major |
6.9.0 -> 10.0.1
|
Release Notes
domaindrivendev/Swashbuckle.AspNetCore (Swashbuckle.AspNetCore)
v10.0.1
What's Changed
- Prepare for OpenAPI.NET 3.0 by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3647
- Fix exception sorting operation tags by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3652
- Improve version table by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3653
- Update migration guide by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3654
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v10.0.0...v10.0.1
v10.0.0
Swashbuckle.AspNetCore v10.0.0
[!IMPORTANT]
This release contains major breaking changes.Read our v10 migration guide for further information.
With this release, Swashbuckle.AspNetCore adds support for generating OpenAPI 3.1 documents and for ASP.NET Core 10.
Swashbuckle.AspNetCore v10 depends on OpenAPI.NET v2.3 which introduces many breaking changes to the public API surface. More information can be found in their OpenAPI.NET v2 Upgrade Guide.
To reduce the number of breaking behavioural changes in Swashbuckle.AspNetCore v10, generation of OpenAPI 3.1 documents is opt-in. To generate OpenAPI 3.1 documents, change the OpenAPI version as shown in the code snippet below:
app.UseSwagger(options =>
{
options.OpenApiVersion = OpenApiSpecVersion.OpenApi3_1;
});
[!TIP] It is strongly recommended that you upgrade to Swashbuckle.AspNetCore v9.0.6 before upgrading to v10.
[!IMPORTANT]
Use of Swashbuckle.AspNetCore with the ASP.NET CoreWithOpenApi()method is no longer supported.
What's Changed
- Update README badges by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3597
- Extend NuGet package validation by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3602
- Support .NET 10 by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3283
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v9.0.6...v10.0.0
v9.0.6
What's Changed
- Bump redoc from 2.5.0 to 2.5.1 by @dependabot in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3587
- Bump swagger-ui from 5.29.1 to 5.29.2 by @dependabot in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3595
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v9.0.5...v9.0.6
v9.0.5
What's Changed
- .NET 10 preparation by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3565
- Update NuGet packages by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3573
- Fix anchors by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3577
- Bump swagger-ui-dist from 5.27.1 to 5.29.1
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v9.0.4...v9.0.5
v9.0.4
What's Changed
- Fix incorrect
ETagvalues by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3490 - Fix
Accept-Encodingparsing by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3492 - Check
Accept-Encodingquality by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3493 - Update xunit packages by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3500
- Add release notes configuration by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3502
- Simplify release workflow by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3503
- Bump xunit dependencies by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3508
- Update NuGet dependencies by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3513
- Remove
WebHostusage from tests by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3517 - Fix typos by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3520
- Sign-off commits by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3526
- Add zizmor by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3528
- Fix permissions by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3529
- Bump zizmor by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3535
- Add default
$typediscriminator for[JsonPolymorphic]by @lilinus in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3496 - Update NuGet dependencies by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3545
New Contributors
- @lilinus made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3496
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v9.0.3...v9.0.4
v9.0.3
What's Changed
- Fix incorrect
Content-Lengthfor swagger-ui and Redoc static assets by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3488
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v9.0.2...v9.0.3
v9.0.2
What's Changed
- Generate SBOM by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3468
- Compress swagger-ui and Redoc files in embedded resources with GZip by @stratosblue in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3399
- Refactor GZip compression by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3480
New Contributors
- @stratosblue made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3399
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v9.0.1...v9.0.2
v9.0.1
What's Changed
- Fix missing Swashbuckle.AspNetCore metapackage dependencies by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3460
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v9.0.0...v9.0.1
v9.0.0
- Drops support for
netstandard2.0and thus .NET Framework - now onlynet8.0andnet9.0are supported. - Removes all public members annotated as
[Obsolete]in previous releases. - Removes the deprecated
--serializeasv2option from Swashbuckle.AspNetCore.Cli, which was superseded by--openapiversionfrom version 8.0.0.
What's Changed
- Add tests for
[Range]and respectParseLimitsInInvariantCultureproperty by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3448 - Fix
[Range]behaviour by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3449 - Refactor sample websites by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3450
- Drop netstandard support by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3422
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v8.1.4...v9.0.0
v8.1.4
What's Changed
- Avoid
ArgumentNullExceptionbeing thrown generating examples by @skironDotNet in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3444
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v8.1.3...v8.1.4
v8.1.3
What's Changed
- Re-enable MyGet publishing by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3421
- Improve test reliability by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3423
- Fix conflicting Git/EditorConfig settings by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3430
- Add integration test logging by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3431
- Disable Static Web Assets by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3432
- Typo fixes by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3433
- Fix HumanizeHrefTags not working when see tag spans over multiple lines by @Focus1337 in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3435
- Revert #3377 by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3436
New Contributors
- @Focus1337 made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3435
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v8.1.2...v8.1.3
v8.1.2
What's Changed
- Update to fix Lists/Arrays of nullables not getting marked as nullable by @Scarecrow7250 in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3364
- Add build timeout by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3370
- Bump redoc to 2.5.0 by @dependabot in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3374
- Add test analytics by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3376
- Fix schema for nullable enums by @ItsVeryWindy in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3377
- [Docs] Split readme md by @peter-csala in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3405
- [Docs] Improve the formatting of documentation files by @peter-csala in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3409
- Spruce-up the READMEs by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3410
- Migrate to slnx by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3411
- Documentation refresh by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3412
- Bump swagger-ui to 5.22.0 by @dependabot in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3417
New Contributors
- @Scarecrow7250 made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3364
- @ItsVeryWindy made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3377
- @peter-csala made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3405
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v8.1.1...v8.1.2
v8.1.1
What's Changed
- Bump swagger-ui to 5.20.8 by @dependabot in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3359
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v8.1.0...v8.1.1
v8.1.0
What's Changed
- Adopt File-scoped namespaces by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3331
- Apply analyzer suggestions by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3334
- Add cache headers for ReDoc and SwaggerUI by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3341
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v8.0.0...v8.1.0
v8.0.0
[!IMPORTANT]
Swashbuckle.AspNetCore drops support for .NET 6.
Swashbuckle.AspNetCore v8.0.0 makes the following notable changes:
- Drops support for
net6.0. - The
netstandard2.0TFM now depends on ASP.NET Core 2.3 instead of ASP.NET Core 2.1. - Updates Microsoft.OpenApi to v1.6.23. This update requires the use of swagger-ui v5.19.0 or later (v5.20.1 is included in the Swashbuckle.AspNetCore.SwaggerUI NuGet package). You may need to clear your browser's cache to pick up the latest JavaScript files for swagger-ui.
- To prepare for future support for OpenAPI 3.1 documents, deprecates the
SerializeAsV2property by marking it as[Obsolete]. Users should update their code as illustrated below, depending on their use case:- options.SerializeAsV2 = true; + options.OpenApiVersion = Microsoft.OpenApi.OpenApiSpecVersion.OpenApi2_0; // or if explicitly disabling (the same as the default behaviour) - options.SerializeAsV2 = false; + options.OpenApiVersion = Microsoft.OpenApi.OpenApiSpecVersion.OpenApi3_0; - To prepare for future support for OpenAPI 3.1 documents, the Swashbuckle.AspNetCore.Cli tool has deprecated the
--serializeasv2option and logs a warning to the console. Users should update their usage as illustrated below, depending on their use case:- swagger tofile --output [output] [startupassembly] [swaggerdoc] --serializeasv2 + swagger tofile --output [output] [startupassembly] [swaggerdoc] --openapiversion "2.0"
What's Changed
- More reliable coverage by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3294
- Apply IDE refactoring suggestions by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3254
- .NET 10 preparation by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3285
- Move snapshots by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3314
- Snapshot OpenApiDocument as JSON by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3315
- Enable implicit usings by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3316
- Drop .NET 6 by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3183
- Deprecate
SerializeAsV2by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3286 - Improve release automation by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3317
- Bump NuGet packages by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3319
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.3.2...v8.0.0
v7.3.2
What's Changed
- Fix humanize for multiline
codeand<para>tags by @EvgeniyZ in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3295 - Fix
DescribeAllParametersInCamelCaseusage for parameters by @maksim-sovkov in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309
New Contributors
- @maksim-sovkov made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3309
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.3.1...v7.3.2
v7.3.1
What's Changed
- Fix for ApiDescriptionProvider throws NRE by @EvgeniyZ in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3280
- Bump swagger-ui-dist from 5.19.0 to 5.20.0 by @dependabot in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3279
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.3.0...v7.3.1
v7.3.0
What's Changed
- Add
CreateFromJsonoptions overload by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3218 - Stop testing with .NET 6 by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3219
- Replace IdentityServer4 with Duende.IdentityServer (#3008) by @pseudometalhead in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3184
- Fix JWT version for .NET 9 by @Saibamen in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3227
- Adjust readme for issue #1014 by @EvgeniyZ in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3233
- Humanize multiline para tag by @EvgeniyZ in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3234
- Humanize multi line code tag by @EvgeniyZ in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3239
- Fix
JsonSerializerDataContractResolverso that it handles jagged arrays correctly by @ozziepeeps in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3245 - Use
DeepObjectparameter style for dictionary by @EvgeniyZ in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3241 - Remove
MvcOptionsfromSchemaGeneratorby @EvgeniyZ in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3242 - Optional EOL for XML comments (#2947) by @RainDance74 in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3255
- Add support for listing available OpenAPI documents by @rassilon in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3263
- Bump swagger-ui-dist from 5.18.3 to 5.19.0 by @dependabot in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3266
New Contributors
- @pseudometalhead made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3184
- @RainDance74 made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3255
- @rassilon made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3263
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.2.0...v7.3.0
v7.2.0
What's Changed
- Path grouping strategy by @Saibamen in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3152
- Add package README by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3178
- Allow no match to be found to avoid throwing an exception by @moni-dips in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3188
New Contributors
- @moni-dips made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3188
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.1.0...v7.2.0
v7.1.0
What's Changed
- Update some nugets by @Saibamen in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3143
- Recreate package lock files by @Saibamen in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3146
- More asserts for
SwaggerGeneratorTestsby @Saibamen in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3147 - Add more HTTP codes to
ResponseDescriptionMapby @Saibamen in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3148 - Test more WebAPI examples by @Saibamen in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3149
- Fix issue with
[FromForm]and enums for Controllers by @jgarciadelanoceda in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3164 - Support
[Description]and[ReadOnly]by @jgarciadelanoceda in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3162 - Second level inheritance for
UseOneOfForPolymorphismby @k0ka in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3155 - Avoid exception checking nullability by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3119
- Fix
NotSupportedExceptionin AoT test project by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3171 - Create
snupkgfiles by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3168 - Support of
[JsonPolymorphic]and[JsonDerivedType]attributes by @k0ka in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3170
New Contributors
- @k0ka made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3155
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.0.0...v7.1.0
v7.0.0
What's Changed
- Refactor filter descriptor type checks in SwaggerGen by @iskandersierra in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3125
- Apply SwaggerIgnore on Newtonsoft by @jgarciadelanoceda in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3134
- Support .NET 9 by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3007
- Drop support for .NET (Core) versions prior to 8 (except 6) by @martincostello in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3007
- Fix FromForm without WithOpenApi schemas by @jgarciadelanoceda in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3133
New Contributors
- @iskandersierra made their first contribution in https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/3125
Full Changelog: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.9.0...v7.0.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.