interface OpenApiPluginOptions
Since 0.1.0

Options for the OpenAPI plugin.

Properties

readonly
optional
swagger: boolean

Whether to serve the Swagger UI HTML page.

readonly
optional
endpoint: string

Path for the Swagger UI HTML page.

readonly
optional
specEndpoint: string

Path for the JSON spec endpoint.

Usage

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