Skip to main content
Glama

SwaggerMcp

by NakiriYuuzu

validate_api_response

Verify API response accuracy by validating it against the schema defined in Swagger documentation, ensuring compliance with expected structure and data types.

Instructions

Validate an API response against the schema from Swagger documentation

Input Schema

NameRequiredDescriptionDefault
methodYesThe HTTP method
pathYesThe endpoint path
responseBodyYesThe response body to validate
statusCodeYesThe HTTP status code

Input Schema (JSON Schema)

{ "properties": { "method": { "description": "The HTTP method", "type": "string" }, "path": { "description": "The endpoint path", "type": "string" }, "responseBody": { "description": "The response body to validate", "type": "object" }, "statusCode": { "description": "The HTTP status code", "type": "number" } }, "required": [ "path", "method", "statusCode", "responseBody" ], "type": "object" }
Install Server

Other Tools from SwaggerMcp

Related Tools

    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/NakiriYuuzu/SwaggerMcp'

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