From ecbc4a38001fbe6f3d0d97953607dcd6450a847a Mon Sep 17 00:00:00 2001 From: martincostello Date: Tue, 9 Jun 2026 15:08:11 +0100 Subject: [PATCH 1/2] Update to .NET 11 preview 5 Update to preview 5 of .NET 11. --- Directory.Packages.props | 2 +- global.json | 2 +- .../Swashbuckle.AspNetCore.ApiTesting.csproj | 2 +- .../Swashbuckle.AspNetCore.Newtonsoft.csproj | 2 +- src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.nuspec | 2 +- .../Swashbuckle.AspNetCore.IntegrationTests.csproj | 4 ++-- test/WebSites/OAuth2Integration/OAuth2Integration.csproj | 2 +- test/WebSites/TodoApp/TodoApp.csproj | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 24936d07f6..08bb78bb5c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -15,7 +15,7 @@ - + diff --git a/global.json b/global.json index 9cb2348ccf..046ed67fdd 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "11.0.100-preview.4.26230.115", + "version": "11.0.100-preview.5.26302.115", "allowPrerelease": false, "paths": [ ".dotnet", "$host$" ] } diff --git a/src/Swashbuckle.AspNetCore.ApiTesting/Swashbuckle.AspNetCore.ApiTesting.csproj b/src/Swashbuckle.AspNetCore.ApiTesting/Swashbuckle.AspNetCore.ApiTesting.csproj index 439b3dc9bf..7858e9f9df 100644 --- a/src/Swashbuckle.AspNetCore.ApiTesting/Swashbuckle.AspNetCore.ApiTesting.csproj +++ b/src/Swashbuckle.AspNetCore.ApiTesting/Swashbuckle.AspNetCore.ApiTesting.csproj @@ -19,7 +19,7 @@ - + diff --git a/src/Swashbuckle.AspNetCore.Newtonsoft/Swashbuckle.AspNetCore.Newtonsoft.csproj b/src/Swashbuckle.AspNetCore.Newtonsoft/Swashbuckle.AspNetCore.Newtonsoft.csproj index fabfb86760..7b84fff17e 100644 --- a/src/Swashbuckle.AspNetCore.Newtonsoft/Swashbuckle.AspNetCore.Newtonsoft.csproj +++ b/src/Swashbuckle.AspNetCore.Newtonsoft/Swashbuckle.AspNetCore.Newtonsoft.csproj @@ -19,7 +19,7 @@ - + diff --git a/src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.nuspec b/src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.nuspec index a48c3d6c46..be941e7757 100644 --- a/src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.nuspec +++ b/src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.nuspec @@ -23,7 +23,7 @@ - + diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj b/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj index a86424fe3d..9b726efa98 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj @@ -52,8 +52,8 @@ - - + + diff --git a/test/WebSites/OAuth2Integration/OAuth2Integration.csproj b/test/WebSites/OAuth2Integration/OAuth2Integration.csproj index 4513e69d13..eb37221a2a 100644 --- a/test/WebSites/OAuth2Integration/OAuth2Integration.csproj +++ b/test/WebSites/OAuth2Integration/OAuth2Integration.csproj @@ -18,7 +18,7 @@ - + diff --git a/test/WebSites/TodoApp/TodoApp.csproj b/test/WebSites/TodoApp/TodoApp.csproj index be79aeb8f7..7052fad460 100644 --- a/test/WebSites/TodoApp/TodoApp.csproj +++ b/test/WebSites/TodoApp/TodoApp.csproj @@ -17,6 +17,6 @@ - + From 0829675b52ae87e0ff28b559d2866eecc6b5ba3c Mon Sep 17 00:00:00 2001 From: martincostello Date: Tue, 9 Jun 2026 17:49:51 +0100 Subject: [PATCH 2/2] Update snapshots React to change in sorting. May need to an explicit sorting step in the code. --- ...tType=WebApi.Program_swaggerRequestUri=v1.verified.txt | 8 ++++---- .../VerifyTests.TypesAreRenderedCorrectly.verified.txt | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.Swagger_IsValidJson_No_Startup_entryPointType=WebApi.Program_swaggerRequestUri=v1.verified.txt b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.Swagger_IsValidJson_No_Startup_entryPointType=WebApi.Program_swaggerRequestUri=v1.verified.txt index 048170ae70..3a5d15b04a 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.Swagger_IsValidJson_No_Startup_entryPointType=WebApi.Program_swaggerRequestUri=v1.verified.txt +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.Swagger_IsValidJson_No_Startup_entryPointType=WebApi.Program_swaggerRequestUri=v1.verified.txt @@ -940,8 +940,8 @@ } ], "responses": { - "200": { - "description": "OK", + "default": { + "description": "A Product", "content": { "application/json": { "schema": { @@ -950,8 +950,8 @@ } } }, - "default": { - "description": "A Product", + "200": { + "description": "OK", "content": { "application/json": { "schema": { diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.TypesAreRenderedCorrectly.verified.txt b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.TypesAreRenderedCorrectly.verified.txt index 048170ae70..3a5d15b04a 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.TypesAreRenderedCorrectly.verified.txt +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/11_0/VerifyTests.TypesAreRenderedCorrectly.verified.txt @@ -940,8 +940,8 @@ } ], "responses": { - "200": { - "description": "OK", + "default": { + "description": "A Product", "content": { "application/json": { "schema": { @@ -950,8 +950,8 @@ } } }, - "default": { - "description": "A Product", + "200": { + "description": "OK", "content": { "application/json": { "schema": {