diff --git a/Directory.Packages.props b/Directory.Packages.props index 4d5d47af0b..6cb87923bd 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,17 +8,17 @@ - - + + - - + + - + - - + + diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj b/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj index 71220f26de..d80637f440 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj @@ -46,18 +46,18 @@ - - + + - - + + - - + + diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt index f60e4e6642..4a46d91284 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt @@ -138,7 +138,8 @@ "name": "body", "required": true, "schema": { - "type": "object" + "type": "object", + "additionalProperties": { } } } ], diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt index f60e4e6642..4a46d91284 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt @@ -138,7 +138,8 @@ "name": "body", "required": true, "schema": { - "type": "object" + "type": "object", + "additionalProperties": { } } } ], diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt index f60e4e6642..4a46d91284 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0/VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=ReDoc.Startup_swaggerRequestUri=v1.verified.txt @@ -138,7 +138,8 @@ "name": "body", "required": true, "schema": { - "type": "object" + "type": "object", + "additionalProperties": { } } } ], diff --git a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_8032c779929ecfff/NSwagOpenApiClient.verified.cs b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_8032c779929ecfff/NSwagOpenApiClient.verified.cs index 6c561cbf4c..6a3e890499 100644 --- a/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_8032c779929ecfff/NSwagOpenApiClient.verified.cs +++ b/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/code/GeneratesValidClient_8032c779929ecfff/NSwagOpenApiClient.verified.cs @@ -402,7 +402,7 @@ public virtual async System.Threading.Tasks.Task ProductsPUTAsync(int id, Produc /// OK /// A server side error occurred. - public virtual System.Threading.Tasks.Task ProductsPATCHAsync(int id, object body) + public virtual System.Threading.Tasks.Task ProductsPATCHAsync(int id, System.Collections.Generic.IDictionary body) { return ProductsPATCHAsync(id, body, System.Threading.CancellationToken.None); } @@ -410,7 +410,7 @@ public virtual System.Threading.Tasks.Task ProductsPATCHAsync(int id, object bod /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// OK /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ProductsPATCHAsync(int id, object body, System.Threading.CancellationToken cancellationToken) + public virtual async System.Threading.Tasks.Task ProductsPATCHAsync(int id, System.Collections.Generic.IDictionary body, System.Threading.CancellationToken cancellationToken) { if (id == null) throw new System.ArgumentNullException("id"); diff --git a/test/WebSites/OAuth2Integration/OAuth2Integration.csproj b/test/WebSites/OAuth2Integration/OAuth2Integration.csproj index ad5e245209..7095a0556d 100644 --- a/test/WebSites/OAuth2Integration/OAuth2Integration.csproj +++ b/test/WebSites/OAuth2Integration/OAuth2Integration.csproj @@ -10,19 +10,19 @@ - + - + - + - + diff --git a/test/WebSites/TodoApp/TodoApp.csproj b/test/WebSites/TodoApp/TodoApp.csproj index 5a55d998fa..d2568e019e 100644 --- a/test/WebSites/TodoApp/TodoApp.csproj +++ b/test/WebSites/TodoApp/TodoApp.csproj @@ -14,12 +14,12 @@ - + - + - +