Skip to content

enableOpenApiValidation

enableOpenApiValidation(app): void

Defined in: src/plugins/openapi-validator.ts:227

Enables OpenAPI validation for the application. This registers the middleware and the hook to pre-compile validators when the spec is generated.

Shokupan<any>

The Shokupan application instance

void