From 541b98794ecb4b4eebadd4b916f3aab7f22e64da Mon Sep 17 00:00:00 2001 From: Milan Martiniak Date: Fri, 4 Oct 2024 15:48:55 +0200 Subject: [PATCH 1/2] Fix --- .../ServiceDiscovery/SwaggerServiceDiscoveryProvider.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/MMLib.SwaggerForOcelot/ServiceDiscovery/SwaggerServiceDiscoveryProvider.cs b/src/MMLib.SwaggerForOcelot/ServiceDiscovery/SwaggerServiceDiscoveryProvider.cs index 2769c73..dea4259 100644 --- a/src/MMLib.SwaggerForOcelot/ServiceDiscovery/SwaggerServiceDiscoveryProvider.cs +++ b/src/MMLib.SwaggerForOcelot/ServiceDiscovery/SwaggerServiceDiscoveryProvider.cs @@ -111,7 +111,6 @@ private async Task GetSwaggerUri(SwaggerEndPointConfig endPoint, RouteOptio { builder.Scheme = conf?.Scheme ?? "http"; } - builder.Scheme = conf?.Scheme ?? "http"; if (endPoint.Service.Path.IsNullOrEmpty()) { From 2e8a662401906ea730ebea198a0e8a91c43d58da Mon Sep 17 00:00:00 2001 From: Milan Martiniak Date: Fri, 4 Oct 2024 15:49:14 +0200 Subject: [PATCH 2/2] new version --- src/MMLib.SwaggerForOcelot/MMLib.SwaggerForOcelot.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MMLib.SwaggerForOcelot/MMLib.SwaggerForOcelot.csproj b/src/MMLib.SwaggerForOcelot/MMLib.SwaggerForOcelot.csproj index 185d66d..aefe436 100644 --- a/src/MMLib.SwaggerForOcelot/MMLib.SwaggerForOcelot.csproj +++ b/src/MMLib.SwaggerForOcelot/MMLib.SwaggerForOcelot.csproj @@ -1,7 +1,7 @@  net6.0;net7.0;net8.0 - 8.3.0 + 8.3.1 Milan Martiniak MMLib Swagger generator for Ocelot downstream services.