rest-vir - v2.2.0
    Preparing search index...

    Type Alias EndpointDefinition

    An individual Endpoint definition. customProps (inherited from CommonRouteDefinition via EndpointMethodDefinition) is optional and untyped. Use EndpointDefinitionWithRequiredCustomProps when a wrapper needs to both narrow customProps's type and require its presence on every method.

    type EndpointDefinition = {
        path: BaseRoutePath;
        requests: RequireAtLeastOne<
            { [Method in DefinableHttpMethod]: EndpointMethodDefinition<Method> },
        >;
    }
    Index

    Properties

    Properties

    requests: RequireAtLeastOne<
        { [Method in DefinableHttpMethod]: EndpointMethodDefinition<Method> },
    >