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

Function getSchema

test/types/instance.tst.ts:181–184  ·  view source on GitHub ↗
(schemaId)

Source from the content-addressed store, hash-verified

179 return server.addSchema({ type: 'null' })
180 },
181 getSchema (schemaId) {
182 expect(schemaId).type.toBe<string>()
183 return server.getSchema('SchemaId')
184 },
185 getSchemas () {
186 expect(server.getSchemas()).type.toBe<Record<string, unknown>>()
187 return server.getSchemas()

Callers

nothing calls this directly

Calls 1

getSchemaMethod · 0.65

Tested by

no test coverage detected