Recolved endpoint name ambiguity

This commit is contained in:
2026-09-25 19:06:03 +02:00
parent 86e2bad4fe
commit 0f903a58b5
2 changed files with 2 additions and 2 deletions
@@ -22,7 +22,7 @@ public sealed class GetTenantsEndpoint : IEndpoint
})
.WithDescription("Gets system tenants")
.RequireAuthorization(Constants.MainScope)
.WithName(typeof(GetTenantsEndpoint).ToEndpointName())
.WithName(typeof(GetTenantsEndpoint).ToEndpointName("Retrieval"))
.MapToApiVersion(new ApiVersion(1))
.Produces<Tenant[]>(StatusCodes.Status200OK)
.Produces(StatusCodes.Status401Unauthorized)
@@ -25,7 +25,7 @@ public sealed class GetBeneficiariesEndpoint : IEndpoint
})
.WithDescription("Gets project beneficiaries")
.RequireAuthorization(Constants.MainScope)
.WithName(typeof(GetBeneficiariesEndpoint).ToEndpointName())
.WithName(typeof(GetBeneficiariesEndpoint).ToEndpointName("Retrieval"))
.MapToApiVersion(new ApiVersion(1))
.Produces<Beneficiary[]>(StatusCodes.Status200OK)
.Produces(StatusCodes.Status404NotFound)