Coverage for mcpgateway / validation / __init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-03-09 03:05 +0000

1# -*- coding: utf-8 -*- 

2"""Location: ./mcpgateway/validation/__init__.py 

3Copyright 2025 

4SPDX-License-Identifier: Apache-2.0 

5Authors: Mihai Criveti 

6 

7Validation Package. 

8Provides validation components for ContextForge including: 

9- JSON-RPC request/response validation 

10- Tag validation and normalization 

11""" 

12 

13from mcpgateway.validation.jsonrpc import JSONRPCError, validate_request, validate_response 

14from mcpgateway.validation.tags import TagValidator, validate_tags_field 

15 

16__all__ = ["validate_request", "validate_response", "JSONRPCError", "TagValidator", "validate_tags_field"]