Recolved endpoint name ambiguity
This commit is contained in:
@@ -22,7 +22,7 @@ public sealed class GetTenantsEndpoint : IEndpoint
|
|||||||
})
|
})
|
||||||
.WithDescription("Gets system tenants")
|
.WithDescription("Gets system tenants")
|
||||||
.RequireAuthorization(Constants.MainScope)
|
.RequireAuthorization(Constants.MainScope)
|
||||||
.WithName(typeof(GetTenantsEndpoint).ToEndpointName())
|
.WithName(typeof(GetTenantsEndpoint).ToEndpointName("Retrieval"))
|
||||||
.MapToApiVersion(new ApiVersion(1))
|
.MapToApiVersion(new ApiVersion(1))
|
||||||
.Produces<Tenant[]>(StatusCodes.Status200OK)
|
.Produces<Tenant[]>(StatusCodes.Status200OK)
|
||||||
.Produces(StatusCodes.Status401Unauthorized)
|
.Produces(StatusCodes.Status401Unauthorized)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public sealed class GetBeneficiariesEndpoint : IEndpoint
|
|||||||
})
|
})
|
||||||
.WithDescription("Gets project beneficiaries")
|
.WithDescription("Gets project beneficiaries")
|
||||||
.RequireAuthorization(Constants.MainScope)
|
.RequireAuthorization(Constants.MainScope)
|
||||||
.WithName(typeof(GetBeneficiariesEndpoint).ToEndpointName())
|
.WithName(typeof(GetBeneficiariesEndpoint).ToEndpointName("Retrieval"))
|
||||||
.MapToApiVersion(new ApiVersion(1))
|
.MapToApiVersion(new ApiVersion(1))
|
||||||
.Produces<Beneficiary[]>(StatusCodes.Status200OK)
|
.Produces<Beneficiary[]>(StatusCodes.Status200OK)
|
||||||
.Produces(StatusCodes.Status404NotFound)
|
.Produces(StatusCodes.Status404NotFound)
|
||||||
|
|||||||
Reference in New Issue
Block a user