Skip to content

Commit

Permalink
Fix Swagger Documentation for IIS Hosting (Works also in docker, loca…
Browse files Browse the repository at this point in the history
…lhost) (#1054)
  • Loading branch information
maxiar authored Oct 31, 2024
1 parent d080e99 commit 23a76cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/framework/Infrastructure/OpenApi/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static WebApplication UseOpenApi(this WebApplication app)
var swaggerEndpoints = app.DescribeApiVersions()
.Select(desc => new
{
Url = $"/swagger/{desc.GroupName}/swagger.json",
Url = $"../swagger/{desc.GroupName}/swagger.json",
Name = desc.GroupName.ToUpperInvariant()
});

Expand Down

0 comments on commit 23a76cd

Please sign in to comment.