Skip to content

precompileValidators

precompileValidators(app, spec): Promise<void>

Defined in: src/plugins/middleware/openapi-validator.ts:236

Pre-compiles validators for the application using the provided spec. Should be called when the spec is available.

any

any

Promise<void>