We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f737c1 commit 221a546Copy full SHA for 221a546
1 file changed
test/Swashbuckle.AspNetCore.IntegrationTests/SwaggerIntegrationTests.cs
@@ -96,7 +96,11 @@ public async Task SwaggerEndpoint_ReturnsCorrectPriceExample_ForDifferentCulture
96
[Theory]
97
[InlineData("/swagger/v1/swagger.json", "openapi", "3.0.4")]
98
[InlineData("/swagger/v1/swaggerv2.json", "swagger", "2.0")]
99
+#if NET11_0_OR_GREATER
100
[InlineData("/swagger/v1/swaggerv3_1.json", "openapi", "3.1.2")]
101
+#else
102
+ [InlineData("/swagger/v1/swaggerv3_1.json", "openapi", "3.1.1")]
103
+#endif
104
public async Task SwaggerMiddleware_CanBeConfiguredMultipleTimes(
105
string swaggerUrl,
106
string expectedVersionProperty,
0 commit comments