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.
Parameters
Section titled “Parameters”Shokupan<any>
The Shokupan application instance
Returns
Section titled “Returns”void