ApiSchemaRouter() function
Creates a router that exposes Agent OpenAPI schema
Signature:
ApiSchemaRouter: (options: ApiSchemaRouterOptions) => Router
Parameters
Parameter | Type | Description |
---|---|---|
options | ApiSchemaRouterOptions | Initialization option |
Returns:
Router
Expressjs router