1. Validating a GET User Response
Backend DeveloperBackground
A developer just implemented a new /users/{id} endpoint and wants to ensure the JSON response matches the agreed-upon OpenAPI contract.
Problem
Need to verify that the API returns all required fields with the correct data types without writing a custom test script.
How to use
Paste the OpenAPI YAML and the JSON response {"id":"1","active":"yes"}. Set the path to /users/42, method to GET, and status code to 200.
Disallow Additional Properties: trueOutcome
The tool highlights that 'id' is a string instead of an integer, 'name' is missing, and 'active' is a string instead of a boolean.