MCPcopy
hub / github.com/fastify/fastify / getSchema

Method getSchema

types/instance.d.ts:137–137  ·  view source on GitHub ↗
(schemaId: string)

Source from the content-addressed store, hash-verified

135
136 addSchema(schema: unknown): FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>;
137 getSchema(schemaId: string): unknown;
138 getSchemas(): Record<string, unknown>;
139
140 after(): FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider> & SafePromiseLike<undefined>;

Callers 11

getSchemaMethod · 0.65
rootBuildValidatorFunction · 0.65
getSchemasFunction · 0.65
getSchemaFunction · 0.65
schemaPluginFunction · 0.65
instance.tst.tsFile · 0.65
getSchemaFunction · 0.65

Calls

no outgoing calls

Tested by 4

rootBuildValidatorFunction · 0.52
getSchemasFunction · 0.52
getSchemaFunction · 0.52
schemaPluginFunction · 0.52