MCPcopy
hub / github.com/fastify/fastify / getSchemas

Function getSchemas

test/schema-special-usage.test.js:317–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315 t.assert.ok(!storeInit, 'is always empty because fastify.addSchema is not called')
316 return {
317 getSchemas () {
318 return {
319 [baseSchema.$id]: ajvInstance.getSchema(baseSchema.$id).schema,
320 [refSchema.$id]: ajvInstance.getSchema(refSchema.$id).schema
321 }
322 }
323 }
324 }
325 }

Callers

nothing calls this directly

Calls 1

getSchemaMethod · 0.65

Tested by

no test coverage detected