interface OpenApiServiceOptions
Since 0.1.0

Options for the OpenAPI service.

Properties

readonly
app: IApplication

The application context for accessing routes.

readonly
optional
schemas: readonly { readonly name: string; readonly schema: unknown; }[]

Pre-registered schemas from other plugins.

Usage

import { type OpenApiServiceOptions } from "openapi-plugin/src/index.ts";