From 4f9081c59c7814c1575b59376c401988f8449d29 Mon Sep 17 00:00:00 2001 From: "v.razuvaev" Date: Sun, 6 Sep 2026 18:34:24 +0300 Subject: [PATCH] Require the contract 0.8 line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.8.0 refuses documents 0.7 accepted and reads several things differently — $ref siblings by dialect, a content map by specificity, a trailing slash as part of the path, a repeated parameter as a violation. This package's suite is green on both, and was already verified against that branch before it was tagged; the constraint moves so that --prefer-lowest exercises the compiler these tests are written against. --- CHANGELOG.md | 9 +++++++++ composer.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a672f6..cb18e9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- **Changed.** Requires `rasuvaeff/openapi-contract` `^0.8`. That release + refuses documents 0.7 accepted — an unreadable subschema, a parameter + declared twice, a boolean written as a string — and reads several things + differently: `$ref` siblings by dialect, a `content` map by specificity, a + trailing slash as part of the path, a repeated parameter as a violation. The + generator builds documents this package controls, so nothing here changed + with it; the constraint moves so that `--prefer-lowest` exercises the + compiler this suite is written against. + - **Internal.** Two tests built documents `rasuvaeff/openapi-contract` no longer accepts, so this suite went red against its development branch while staying green against the release. The shared multipart fixture is a document diff --git a/composer.json b/composer.json index ef39100..31a50fe 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "psr/http-factory": "^1.1", "psr/http-message": "^1.1 || ^2.0", "psr/http-server-handler": "^1.0", - "rasuvaeff/openapi-contract": "^0.7", + "rasuvaeff/openapi-contract": "^0.8", "rasuvaeff/property-testing-core": "^0.5 || ^0.6" }, "require-dev": {