17 lines
515 B
C#

using Customers.Api.Contracts.Responses;
using Customers.Api.Endpoints;
using FastEndpoints;
namespace Customers.Api.Summaries;
public class GetCustomerSummary : Summary<GetCustomerEndpoint>
{
public GetCustomerSummary()
{
Summary = "Returns a single customer by id";
Description = "Returns a single customer by id";
Response<GetAllCustomersResponse>(200, "Successfully found and returned the customer");
Response(404, "The customer does not exist in the system");
}
}