MCPcopy
hub / github.com/fastify/fastify / serializeInput

Method serializeInput

types/reply.d.ts:71–71  ·  view source on GitHub ↗
(input: { [key: string]: unknown }, schema: { [key: string]: unknown }, httpStatus?: string, contentType?: string)

Source from the content-addressed store, hash-verified

69 getSerializationFunction(schema: { [key: string]: unknown }): ((payload: { [key: string]: unknown }) => string) | undefined;
70 compileSerializationSchema(schema: { [key: string]: unknown }, httpStatus?: string, contentType?: string): (payload: { [key: string]: unknown }) => string;
71 serializeInput(input: { [key: string]: unknown }, schema: { [key: string]: unknown }, httpStatus?: string, contentType?: string): string;
72 serializeInput(input: { [key: string]: unknown }, httpStatus: string, contentType?: string): unknown;
73 then(fulfilled: () => void, rejected: (err: Error) => void): void;
74 trailer: (

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected