fix: VS03 IngestionEndpoint route prefix (remove double /api)

FastEndpoints automatically adds 'api' prefix from Program.cs RoutePrefix config.
Routes should use /market/ingest, not /api/market/ingest, to avoid /api/api paths.

Fixes: TriggerIngestionEndpoint and GetIngestionStatusEndpoint route definitions.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-08-14 14:27:44 +09:00
parent 9383252c67
commit 92c67bc2a7
@@ -58,7 +58,7 @@ public sealed class TriggerIngestionEndpoint : Endpoint<IngestionRequest, Ingest
public override void Configure()
{
Post("/api/market/ingest");
Post("/market/ingest"); // RoutePrefix "api" is added automatically by FastEndpoints
Roles("DataAdmin");
}
@@ -111,7 +111,7 @@ public sealed class GetIngestionStatusEndpoint : EndpointWithoutRequest<Ingestio
public override void Configure()
{
Get("/api/market/ingest/{jobId}");
Get("/market/ingest/{jobId}"); // RoutePrefix "api" is added automatically by FastEndpoints
Roles("DataAdmin");
}