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
+1 -1
View File
@@ -10,7 +10,7 @@
<!-- NuGet package metadata --> <!-- NuGet package metadata -->
<PackageId>EonaCat.DoxaApi</PackageId> <PackageId>EonaCat.DoxaApi</PackageId>
<Version>0.0.3</Version> <Version>0.0.4</Version>
<Authors>EonaCat (Jeroen Saey)</Authors> <Authors>EonaCat (Jeroen Saey)</Authors>
<Description>A modern, self-contained, dependency-free OpenAPI documentation UI for ASP.NET Core.</Description> <Description>A modern, self-contained, dependency-free OpenAPI documentation UI for ASP.NET Core.</Description>
<PackageTags>openapi;swagger;documentation;api;aspnetcore;doxa;api;docs;documentation;Jeroen;Saey;EonaCat;Scalar;Redoc;Postman;EchoAPI;</PackageTags> <PackageTags>openapi;swagger;documentation;api;aspnetcore;doxa;api;docs;documentation;Jeroen;Saey;EonaCat;Scalar;Redoc;Postman;EchoAPI;</PackageTags>
+3 -3
View File
@@ -22,7 +22,7 @@ using EonaCat.DoxaApi.Middleware;
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers(); builder.Services.AddControllers();
builder.Services.AddEonaCat.DoxaApi(options => builder.Services.AddDoxaApi(options =>
{ {
options.Title = "My API"; options.Title = "My API";
options.Description = "Internal service API"; options.Description = "Internal service API";
@@ -31,7 +31,7 @@ builder.Services.AddEonaCat.DoxaApi(options =>
var app = builder.Build(); var app = builder.Build();
app.UseRouting(); 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.MapControllers();
app.Run(); app.Run();
@@ -52,7 +52,7 @@ Run your app and open `https://localhost:xxxx/doxa`.
## Configuration reference ## Configuration reference
```csharp ```csharp
builder.Services.AddEonaCat.DoxaApi(options => builder.Services.AddDoxaApi(options =>
{ {
options.Title = "My API"; // shown in the top bar and browser tab options.Title = "My API"; // shown in the top bar and browser tab
options.Description = "..."; // shown on the welcome screen options.Description = "..."; // shown on the welcome screen