ApiEndpoints
Class staticpublic
Provides well-known route path constants for the sample API.
Definition
Section titled Definitionpublic static class ApiEndpointsRemarks
Section titled RemarksCentralizing route paths in a static class ensures that controllers, clients, and tests reference the same values, reducing the risk of routing mismatches.
Fields8
Section titled Fieldsstring string ApiEndpoints.CustomerByIdRoute template for a single customer resource.
string string ApiEndpoints.CustomersBase path for customer endpoints.
string string ApiEndpoints.HealthPath for the health-check endpoint.
string string ApiEndpoints.OrderByIdRoute template for a single order resource.
string string ApiEndpoints.OrdersBase path for order endpoints.
string string ApiEndpoints.ProductByIdRoute template for a single product resource.
string string ApiEndpoints.ProductsPath for the product catalogue.
string string ApiEndpoints.ReadyPath for the readiness probe endpoint.