Skip to main content
Glama
fix-604.test.js451 B
'use strict' const { test } = require('node:test') const fjs = require('..') test('fix-604', t => { const schema = { type: 'object', properties: { fullName: { type: 'string' }, phone: { type: 'number' } } } const input = { fullName: 'Jone', phone: 'phone' } const render = fjs(schema) t.assert.throws(() => { render(input) }, { message: 'The value "phone" cannot be converted to a number.' }) })

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/krtw00/search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server