A unique name for the route provided by AdonisJS http-server. May be duplicate across different domains.
HTTP methods for which the route is defined (GET, POST, PUT, etc.)
The domain on which the route is registered (typically 'root')
The route pattern with parameter placeholders (e.g., '/users/:id')
Route tokens that can be used for constructing URIs without parsing the pattern. Contains information about static and dynamic segments.
OptionalrequestInferred request data type accepted by the route. Generated when the route uses a controller with validators.
TypeScript type definition for the request data
Import statements needed for the type definition
OptionalresponseInferred response type returned by the route. Generated when the route uses a controller method.
TypeScript type definition for the response data
Import statements needed for the type definition
OptionalvalidatorsExtracted validator information from the controller method. Only present when using controller-based routes with validation.
OptionalcontrollerExtracted controller information including class and method details. Only present when using controller-based routes.
Output of a scanned route containing all extracted metadata including controller information, validators, request/response types, and route patterns.
Example