Interface RequestRouteOptions<ContextConfig, SchemaCompiler>

interface RequestRouteOptions<ContextConfig, SchemaCompiler> {
    attachValidation: boolean;
    bodyLimit: number;
    config: FastifyContextConfig & FastifyRouteConfig & ContextConfig;
    exposeHeadRoute: boolean;
    handler: RouteHandlerMethod;
    logLevel: string;
    method: string;
    prefixTrailingSlash: string;
    schema?: SchemaCompiler;
    url: undefined | string;
    version: undefined | string;
}

Type Parameters

Properties

attachValidation: boolean
bodyLimit: number
config: FastifyContextConfig & FastifyRouteConfig & ContextConfig
exposeHeadRoute: boolean
logLevel: string
method: string
prefixTrailingSlash: string
url: undefined | string
version: undefined | string