The function that handles requests to this route.
The HTTP method for the route.
OptionalmiddlewaresMiddlewares that run before the route handler.
OptionalparamNames of parameters extracted from the path.
The URL path pattern for the route.
OptionalregexA compiled regular expression for the path, if applicable.
OptionalschemaMetadata describing the route's schema.
Describes a route registered at runtime, including its method, path, and handler. Route