MCPcopy
hub / github.com/fastify/fastify / add

Method add

lib/schema-controller.js:62–65  ·  lib/schema-controller.js::SchemaController.add
(schema)

Source from the content-addressed store, hash-verified

60
61 class="cm">// Bucket interface
62 add (schema) {
63 this.addedSchemas = true
64 return this.schemaBucket.add(schema)
65 }
66
67 getSchema (schemaId) {
68 return this.schemaBucket.getSchema(schemaId)

Callers 14

addHookFunction · 0.80
_addHookFunction · 0.80
addSchemaFunction · 0.80
addHttpMethodFunction · 0.80
routeHandlerFunction · 0.80
addContentTypeParserFunction · 0.80
initFunction · 0.80
noop-set.test.jsFile · 0.80
decorator.test.jsFile · 0.80
hooks.test.jsFile · 0.80

Calls

no outgoing calls

Tested by 1

initFunction · 0.64