MCPcopy
hub / github.com/fastify/fastify / addSchema

Function addSchema

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

Source from the content-addressed store, hash-verified

398 t.assert.ok('the bucket is created')
399 return {
400 addSchema (source) {
401 ajvInstance.addSchema(source)
402 },
403 getSchema (id) {
404 return ajvInstance.getSchema(id).schema
405 },

Callers

nothing calls this directly

Calls 1

addSchemaMethod · 0.80

Tested by

no test coverage detected