Skip to content

Commit c377d5a

Browse files
Add scalar UI
1 parent 0a40737 commit c377d5a

File tree

1 file changed

+3
-0
lines changed
  • src/Certify.Server/Certify.Server.HubService

1 file changed

+3
-0
lines changed

src/Certify.Server/Certify.Server.HubService/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Microsoft.AspNetCore.Mvc.ApplicationParts;
99
using Microsoft.AspNetCore.SignalR;
1010
using Microsoft.AspNetCore.StaticFiles;
11+
using Scalar.AspNetCore;
1112
using Serilog;
1213

1314
var builder = WebApplication.CreateBuilder(args);
@@ -70,6 +71,8 @@
7071
if (app.Environment.IsDevelopment())
7172
{
7273
app.MapOpenApi();
74+
75+
app.MapScalarApiReference();
7376
}
7477

7578
app.UseHttpsRedirection();

0 commit comments

Comments
 (0)