Skip to main content

ApiSchemaRouter() function

Creates a router that exposes Agent OpenAPI schema

Signature:

ApiSchemaRouter: (options: ApiSchemaRouterOptions) => Router

Parameters

ParameterTypeDescription
optionsApiSchemaRouterOptionsInitialization option

Returns:

Router

Expressjs router