@aashari/mcp-server-atlassian-jira
Version:
Node.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracki
13 lines (12 loc) • 602 B
TypeScript
import { z } from 'zod';
export declare const skipValidation: boolean;
/**
* Validates API response against a Zod schema
* @param data The data to validate
* @param schema The Zod schema to validate against
* @param context Context for error messages (e.g., "issue details", "issue list")
* @param serviceIdentifier Optional service identifier for more specific logging
* @returns The validated data
* @throws {McpError} If validation fails
*/
export declare function validateResponse<T, S>(data: unknown, schema: z.ZodType<T, z.ZodTypeDef, S>, context: string, serviceIdentifier?: string): T;