Skip to content

Opensearch dashboards.routeconfig

Home > opensearch-dashboards > RouteConfig

RouteConfig interface

Route specific configuration.

Signature:

export interface RouteConfig<P, Q, B, Method extends RouteMethod> 

Properties

Property Type Description
options? RouteConfigOptions<Method> (Optional) Additional route options RouteConfigOptions.
path string The endpoint _within_ the router path to register the route.
validate RouteValidatorFullConfig<P, Q, B> | false A schema created with @osd/config-schema that every request will be validated against.