Add Gesso - #812
Merged
Merged
Conversation
wadakatu
requested review from
AlexanderKaran,
mbifulco and
philsturgeon
as code owners
August 14, 2026 02:33
👷 Deploy request for openapi-dot-tools pending review.Visit the deploys page to approve it
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is it?
Gesso is framework-agnostic OpenAPI contract testing for PHP / PHPUnit. It validates requests and responses against an OpenAPI 3.0 / 3.1 / 3.2 description, and — unlike the existing PHP validators — tracks which endpoints, statuses, and content types the test suite actually exercised, reporting coverage as Markdown / JUnit XML / JSON / HTML. First-class adapters for Laravel, Symfony, Pest, and PSR-7.
Against the contribution guidelines
studio-design/gesso, with CI-tested five-minute quickstarts for core PHPUnit, Laravel, Symfony, and Pest.studio-design/openapi-contract-testing). As quality evidence I'd offer instead: schema conversion is pinned against the official JSON Schema Test Suite (3,784 cases, with the 11 deliberate verdict deltas individually documented) and every OpenAPI Initiative example document for 3.0/3.1/3.2 loads cleanly — both corpora pinned by commit SHA and enforced in CI. See docs/conformance.md. Happy to come back later if you'd rather wait for adoption numbers.spectator.md/openapi-psr7-validator.mdand validates againstToolSchema.Disclosure: I maintain the tool.