MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / envelopeJsonSchema

Function envelopeJsonSchema

packages/server/src/middleware/schema.ts:66–70  ·  view source on GitHub ↗
(
  dataSchema: z.ZodTypeAny,
)

Source from the content-addressed store, hash-verified

64 * JSON Schema representation.
65 */
66export function envelopeJsonSchema(
67 dataSchema: z.ZodTypeAny,
68): Record<string, unknown> {
69 return outputJsonSchema(envelopeSchema(dataSchema));
70}
71
72export function openApiDocumentEnvelopeJsonSchema(
73 dataSchema: z.ZodTypeAny,

Callers 1

buildRouteSchemaFunction · 0.85

Calls 2

envelopeSchemaFunction · 0.90
outputJsonSchemaFunction · 0.85

Tested by

no test coverage detected