The handler function for the route.
Optional
inputThe input schema for validating the input data.
The HTTP method of the route.
Optional
openAn optional openApi object with extra metadata for docs generation.
The path of the route.
Optional
pathThe path schema for validating the path data.
Optional
queryThe query schema for validating the query data.
Represents a route in an API.