validate_api_response
Validate an API response against the schema defined in Swagger documentation, ensuring compliance with specified endpoint, HTTP method, status code, and response body.
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 |