Interface representing the configuration for an API endpoint.

APIEndpoints

interface APIEndpoint {
    $ref?: string;
    endpointId: string;
    url: string;
    method?: HTTPMethod;
    description?: string;
    headers?: Record<string, string>;
    pathParams?: DataObj<APISchemaValidationType>;
    queryParams?: DataObj<APISchemaValidationType>;
    requestBody?: DataObj<APISchemaValidationType>;
    postMappers?: APIMappers;
}

Properties

$ref?: string
endpointId: string
url: string
method?: HTTPMethod
description?: string
headers?: Record<string, string>
postMappers?: APIMappers