Skip to content

fix(rulesets): fix handling relative references in externalValue#2944

Merged
tomek-tursa-sb merged 2 commits intostoplightio:developfrom
samdbmg:fix/relative-references-externalValue
Apr 21, 2026
Merged

fix(rulesets): fix handling relative references in externalValue#2944
tomek-tursa-sb merged 2 commits intostoplightio:developfrom
samdbmg:fix/relative-references-externalValue

Conversation

@samdbmg
Copy link
Copy Markdown
Contributor

@samdbmg samdbmg commented Apr 17, 2026

Fixes #2819

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

If indicated yes above, please describe the breaking change(s).

Remove this quote before creating the PR.

samdbmg added 2 commits April 17, 2026 16:30
Adds a test using an example object with an `externalValue` containing a
relative reference.
OpenAPI 3.1.0 allowed `externalValue` in an examples object to be a
relative reference. This makes that permitted by the ruleset.

Fixes #2819
@samdbmg samdbmg requested a review from a team as a code owner April 17, 2026 15:31
@tomek-tursa-sb tomek-tursa-sb changed the title Fix handling relative references in externalValue fix(rulestes): fix handling relative references in externalValue Apr 21, 2026
@tomek-tursa-sb tomek-tursa-sb changed the title fix(rulestes): fix handling relative references in externalValue fix(rulesets): fix handling relative references in externalValue Apr 21, 2026
@tomek-tursa-sb tomek-tursa-sb merged commit 6666ccc into stoplightio:develop Apr 21, 2026
8 checks passed
@samdbmg samdbmg deleted the fix/relative-references-externalValue branch April 21, 2026 12:54
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.

externalValue doesn't permit for relative references

2 participants