RequestRouteOptions Type — fastify Architecture
Architecture documentation for the RequestRouteOptions type/interface in request.d.ts from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD dc4af7de_fea6_9292_d368_6738a0597fc6["RequestRouteOptions"] 74948ea5_332c_2f4b_c31f_ea89e0b8fc66["request.d.ts"] dc4af7de_fea6_9292_d368_6738a0597fc6 -->|defined in| 74948ea5_332c_2f4b_c31f_ea89e0b8fc66 style dc4af7de_fea6_9292_d368_6738a0597fc6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
types/request.d.ts lines 23–36
export interface RequestRouteOptions<ContextConfig = ContextConfigDefault, SchemaCompiler = FastifySchema> {
method: HTTPMethods | HTTPMethods[];
// `url` can be `undefined` for instance when `request.is404` is true
url: string | undefined;
bodyLimit: number;
attachValidation: boolean;
logLevel: string;
exposeHeadRoute: boolean;
prefixTrailingSlash: string;
config: FastifyContextConfig & FastifyRouteConfig & ContextConfig;
schema?: SchemaCompiler; // it is empty for 404 requests
handler: RouteHandlerMethod;
version?: string;
}
Defined In
Source
Frequently Asked Questions
What is the RequestRouteOptions type?
RequestRouteOptions is a type/interface in the fastify codebase, defined in types/request.d.ts.
Where is RequestRouteOptions defined?
RequestRouteOptions is defined in types/request.d.ts at line 23.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free