enableOpenApiValidation
enableOpenApiValidation(
app):void
Defined in: src/plugins/middleware/openapi-validator.ts:234
Enables OpenAPI validation for the application. This registers the middleware and the hook to pre-compile validators when the spec is generated.
Parameters
Section titled “Parameters”Shokupan<any>
The Shokupan application instance
Returns
Section titled “Returns”void