Schemathesis: Catch API bugs before your users do
π Overview
Schemathesis automatically generates thousands of test cases from your OpenAPI or GraphQL schema and finds edge cases that break your API.
What problems does it solve?
- π₯ 500 errors that crash your API on edge case inputs
- π Schema violations where your API returns different data than documented
- πͺ Validation bypasses where invalid data gets accepted
- π Integration failures when responses don't match client expectations
Quick Start
$ uvx schemathesis run http://example.schemathesis.io/openapi.jsonπ GitHub Action
Run Schemathesis tests in CI/CD pipelines:
- uses: schemathesis/action@v3 with: schema: 'https://example.schemathesis.io/openapi.json'
