Skip to main content
Glama

Swagger MCP

by Vizioz
MIT License
34
53
  • Linux
  • Apple

validate_api_response

Validate API responses against Swagger schema to ensure compliance with defined specifications. Provide endpoint path, HTTP method, status code, and response body for verification.

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 Swagger MCP

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/Vizioz/Swagger-MCP'

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