property OpenApiGeneratorOptions.excludeOwners

Plugin names whose routes are left out of the generated document, matched against RouteInfo.owner.

Defaults to ['health-plugin', 'metrics-plugin'], so an application's operational surface (/health, /live, /ready, /metrics) does not flow into every client generated from the document. Pass [] to document them again.

Owners rather than paths, because those endpoints are configurable: a static path list would silently stop excluding a renamed one.

Type

readonly string[]

Usage

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