validate_api_response
Validate API responses against Swagger/OpenAPI schemas to ensure compliance with documented specifications, improving API testing accuracy and reliability.
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 |