Repository navigation
openapi: add compliance test matrix and real-world fixtures - #356
Closed
RhysSullivan wants to merge 1 commit into
Closed
RhysSullivan wants to merge 1 commit into
RhysSullivan wants to merge 1 commit into
Conversation
41 wire-level tests across query/path/header/cookie params, request body, response handling, required-enforcement, and per-operation security, plus 5 real-world fixture extraction tests (petstore, stripe, github, NYT apiKey-in-query, synthetic cookie-auth). Tests that describe target behaviour not yet implemented are left as real `it.scoped` so failures surface the feature backlog. All pre-existing tests remain green.
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Apr 20, 2026
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | 7ede142 | Commit Preview URL Branch Preview URL |
Apr 20 2026, 10:21 PM |
@executor/sdk
@executor/plugin-file-secrets
@executor/plugin-google-discovery
@executor/plugin-graphql
@executor/plugin-keychain
@executor/plugin-mcp
@executor/plugin-oauth2
@executor/plugin-onepassword
@executor/plugin-openapi
@executor/plugin-workos-vault
executor
commit: |
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.

Summary
compliance-helpers.ts(rawnode:httpecho server + minimal-spec builder).apiKeyin query), hand-authored cookie-auth.Test files
compliance-query-params.test.ts— 8 tests (scalar, form-exploded/non-exploded, pipe/space delimited, deepObject, percent-encoded special chars)compliance-path-params.test.ts— 5 tests (scalar, simple array, label, matrix, reserved-char encoding)compliance-headers-cookies.test.ts— 5 tests (scalar, multi-value, secret-resolved, single + multi cookies)compliance-request-body.test.ts— 5 tests (JSON, form-urlencoded, multipart boundary, text/plain, no-body-declared)compliance-required-enforcement.test.ts— 3 tests (missing query/body/path)compliance-response-handling.test.ts— 5 tests (200 JSON, 200 text, 204, 4xx JSON, 5xx)compliance-per-operation-security.test.ts— 2 tests (security: []override — skipped pending per-op override support, per-op scheme wins over global)compliance-fixtures.test.ts— 8 tests across the 5 fixture specsStatus
security: []override test is skipped until per-op security support ships).formnon-exploded,pipeDelimited,deepObject,labelnon-exploded) accept both percent-encoded and literal forms — either is RFC-compliant and popular generators emit the literal form.Why
Gives us a fast, self-contained regression net that exercises the plugin against both hand-authored edge specs and real-world shapes (Stripe's unusual request bodies, Petstore's classic shape, NYT's
apiKey-in-query auth). The fixture tests in particular catch adapter regressions that unit tests miss.