MCPcopy
hub / github.com/fastify/fastify / getDefaultSchema

Function getDefaultSchema

test/internals/reply-serialize.test.js:7–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const Fastify = require('../../fastify')
6
7function getDefaultSchema () {
8 return {
9 type: 'object',
10 required: ['hello'],
11 properties: {
12 hello: { type: 'string' },
13 world: { type: 'string' }
14 }
15 }
16}
17
18function getResponseSchema () {
19 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected