Fixed typo

This commit is contained in:
2026-06-20 11:02:40 +02:00
parent b0128d19e1
commit efe63211ed
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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