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