diff --git a/DoxaApi/EonaCat.DoxaApi.csproj b/DoxaApi/EonaCat.DoxaApi.csproj index 26812e9..c47eaed 100644 --- a/DoxaApi/EonaCat.DoxaApi.csproj +++ b/DoxaApi/EonaCat.DoxaApi.csproj @@ -10,7 +10,7 @@ EonaCat.DoxaApi - 0.0.3 + 0.0.4 EonaCat (Jeroen Saey) A modern, self-contained, dependency-free OpenAPI documentation UI for ASP.NET Core. openapi;swagger;documentation;api;aspnetcore;doxa;api;docs;documentation;Jeroen;Saey;EonaCat;Scalar;Redoc;Postman;EchoAPI; diff --git a/README.md b/README.md index c590c14..baf03fc 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ using EonaCat.DoxaApi.Middleware; var builder = WebApplication.CreateBuilder(args); builder.Services.AddControllers(); -builder.Services.AddEonaCat.DoxaApi(options => +builder.Services.AddDoxaApi(options => { options.Title = "My API"; options.Description = "Internal service API"; @@ -31,7 +31,7 @@ builder.Services.AddEonaCat.DoxaApi(options => var app = builder.Build(); app.UseRouting(); -app.UseEonaCat.DoxaApi(); // serves UI at /doxa and spec at /doxa/DoxaApi.json +app.UseDoxaApi(); // serves UI at /doxa and spec at /doxa/DoxaApi.json app.MapControllers(); app.Run(); @@ -52,7 +52,7 @@ Run your app and open `https://localhost:xxxx/doxa`. ## Configuration reference ```csharp -builder.Services.AddEonaCat.DoxaApi(options => +builder.Services.AddDoxaApi(options => { options.Title = "My API"; // shown in the top bar and browser tab options.Description = "..."; // shown on the welcome screen