Skip to content

Commit 23a76cd

Browse files
authored
Fix Swagger Documentation for IIS Hosting (Works also in docker, localhost) (#1054)
1 parent d080e99 commit 23a76cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/framework/Infrastructure/OpenApi/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static WebApplication UseOpenApi(this WebApplication app)
6767
var swaggerEndpoints = app.DescribeApiVersions()
6868
.Select(desc => new
6969
{
70-
Url = $"/swagger/{desc.GroupName}/swagger.json",
70+
Url = $"../swagger/{desc.GroupName}/swagger.json",
7171
Name = desc.GroupName.ToUpperInvariant()
7272
});
7373

0 commit comments

Comments
 (0)