Generate adversarial API test cases from an OpenAPI or GraphQL schema
Use Schemathesis when an agent needs to turn an API schema into broad negative and edge-case coverage instead of hand-writing examples. The skill exercises live endpoints or app hooks, explores unexpected combinations, and reports failures that ordinary happy-path tests miss.
Installation
Use the upstream install or setup path that matches your environment:
- uv pip install schemathesis
Requirements and caveats from upstream:
- Python Tests:
- python
Basic usage or getting-started notes:
uvx schemathesis run https://example.schemathesis.io/openapi.json
uvx schemathesis run https://your-api.com/openapi.json
Command Line:
Extracted from upstream docs: https://raw.githubusercontent.com/schemathesis/schemathesis/HEAD/README.md