diff --git a/backend/CrdtMerge/CrdtMerge.csproj b/backend/CrdtMerge/CrdtMerge.csproj index e6dc205b6..d828a99e4 100644 --- a/backend/CrdtMerge/CrdtMerge.csproj +++ b/backend/CrdtMerge/CrdtMerge.csproj @@ -9,6 +9,7 @@ + diff --git a/backend/CrdtMerge/Program.cs b/backend/CrdtMerge/Program.cs index 8774acf85..674aa6dfd 100644 --- a/backend/CrdtMerge/Program.cs +++ b/backend/CrdtMerge/Program.cs @@ -4,6 +4,7 @@ using LcmCrdt; using Microsoft.Extensions.Options; using MiniLcm; +using Scalar.AspNetCore; var builder = WebApplication.CreateBuilder(args); @@ -19,6 +20,8 @@ if (app.Environment.IsDevelopment()) { app.MapOpenApi(); + //access at /scalar/v1 + app.MapScalarApiReference(); } app.UseHttpsRedirection();