Recolved endpoint name ambiguity
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user