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
Name | Required | Description | Default |
---|---|---|---|
method | Yes | The HTTP method | |
path | Yes | The endpoint path | |
responseBody | Yes | The response body to validate | |
statusCode | Yes | The HTTP status code |