MCPcopy
hub / github.com/fastify/fastify / getValidationFunction

Method getValidationFunction

types/request.d.ts:109–109  ·  view source on GitHub ↗
(httpPart: HTTPRequestPart)

Source from the content-addressed store, hash-verified

107 readonly mediaType: string | undefined;
108
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

Callers 2

getHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected