validate_api_response
Validate API responses against Swagger schema by specifying the endpoint path, HTTP method, status code, and response body to ensure compliance with documented standards.
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 |