MCPcopy Create free account
hub / github.com/Noumena-Network/code / generateSettingsJSONSchema

Function generateSettingsJSONSchema

src/utils/settings/schemaOutput.ts:5–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { SettingsSchema } from './types.js'
4
5export function generateSettingsJSONSchema(): string {
6 const jsonSchema = toJSONSchema(SettingsSchema(), { unrepresentable: 'any' })
7 return jsonStringify(jsonSchema, null, 2)
8}

Callers 1

Calls 1

jsonStringifyFunction · 0.85

Tested by

no test coverage detected