Skip to content

Require openapi-contract ^0.15 - #138

Merged
rasuvaeff merged 2 commits into
masterfrom
feat/137-openapi-contract-0.15
Sep 29, 2026
Merged

rasuvaeff merged 2 commits into
masterfrom
feat/137-openapi-contract-0.15

Conversation

@rasuvaeff

Copy link
Copy Markdown
Owner

Fixes #137

What

Widens rasuvaeff/openapi-contract from ^0.13 to ^0.15 (single
constraint, not a union: prefer-lowest pins 0.15.0 and the matrix tests
0.15.x — a union would promise 0.13/0.14 compatibility no CI run checks).

Why the suite needed one change

  • 0.14 keeps a shared component as one resolution per document,
    emitted as the local {$ref: '#/$defs/…'} form — the same form the
    generator already unfolds since 0.16.0 (contract 0.13 cycles). No
    generator change needed.
  • 0.15 changes body diagnostics only (verdicts untouched): a body
    member's actual now renders unless the member path matches the
    credential pattern; wholesale [redacted] stays for a whole-body
    violation at $ and a cookie. One formatter-rendering expectation in
    ContractSuiteTest moved with it — README EN/RU already showed
    actual: null for this shape.

Verification

  • composer update resolves rasuvaeff/openapi-contract to v0.15.0
  • composer build (Docker): PASS — 990 tests, 48146 assertions
    (log: build/digest-build.log)
  • composer rector: OK; git diff --check: clean

@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 8c98cdfc-08ca-4b28-8d89-07b1417edb16


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rasuvaeff
rasuvaeff merged commit c1147a1 into master Sep 29, 2026
12 checks passed
@rasuvaeff
rasuvaeff deleted the feat/137-openapi-contract-0.15 branch September 29, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support openapi-contract ^0.14 / ^0.15

1 participant