Skip to main content
Glama
test-utils.ts320 B
import type Oas from 'oas'; /** * Creates a test OAS spec object with a specified base URL. * @param baseUrl Base URL for the fake specification. * @returns An OAS object with a url() method. */ export function createSpec(baseUrl = 'https://api.example.com'): Oas { return { url: () => baseUrl, } as Oas; }

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/wycats/mcpify'

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