Skip to main content
Glama
mermaidValidator.js868 B
/** * Mermaid Diagram Validation Service (DEPRECATED) * DEPRECATED: This validator uses external mermaid.js dependencies * Use CustomMermaidValidator instead for grammar-based validation */ class MermaidValidator { constructor() { throw new Error('MermaidValidator is deprecated. Use CustomMermaidValidator for grammar-based validation without external dependencies.'); } /** * DEPRECATED: All methods are disabled * Use CustomMermaidValidator instead */ static getDeprecationMessage() { return { error: 'MermaidValidator is deprecated', message: 'This validator requires external mermaid.js dependencies which have been removed. Use CustomMermaidValidator for grammar-based validation.', alternative: 'CustomMermaidValidator', timestamp: new Date().toISOString() }; } } module.exports = MermaidValidator;

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/ai-of-mine/fast-mermaid-validator-mcp'

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