MCPcopy
hub / github.com/fastify/fastify / compileValidationSchema

Method compileValidationSchema

types/request.d.ts:111–111  ·  view source on GitHub ↗
(schema: { [key: string]: any }, httpPart?: HTTPRequestPart)

Source from the content-addressed store, hash-verified

109 getValidationFunction(httpPart: HTTPRequestPart): ValidationFunction | undefined
110 getValidationFunction(schema: { [key: string]: any }): ValidationFunction | undefined
111 compileValidationSchema(schema: { [key: string]: any }, httpPart?: HTTPRequestPart): ValidationFunction
112 validateInput(input: any, schema: { [key: string]: any }, httpPart?: HTTPRequestPart): boolean
113 validateInput(input: any, httpPart?: HTTPRequestPart): boolean
114 getDecorator<T>(name: string | symbol): T;

Callers 2

request.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected