MCPcopy
hub / github.com/fastify/fastify / rootBuildValidator

Function rootBuildValidator

test/schema-feature.test.js:1792–1797  ·  view source on GitHub ↗
(externalSchemas)

Source from the content-addressed store, hash-verified

1790 }
1791 }
1792 const rootBuildValidator = function (externalSchemas) {
1793 rootValidatorCalled++
1794 return function validatorCompiler ({ schema }) {
1795 return customAjv.compile(schema)
1796 }
1797 }
1798 const server = Fastify({
1799 schemaController: {
1800 compilersFactory: {

Callers

nothing calls this directly

Calls 2

addSchemaMethod · 0.80
getSchemaMethod · 0.65

Tested by

no test coverage detected