Skip to content

Conversation

@ctreatma
Copy link
Contributor

This updates the RefPointer class to return the full $ref value for references that are not under #/components/ instead of throwing an IllegalArgumentException. This change enables openapi-diff to run successfully against specs that use any valid $ref format rather than prescribing one specific approach to defining references.

Fixes #810

@ctreatma ctreatma force-pushed the remove-ref-validation branch from 5025731 to 996db4e Compare December 17, 2025 16:47
@ctreatma ctreatma force-pushed the remove-ref-validation branch from 996db4e to c4e1108 Compare December 18, 2025 18:32
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.

IllegalArgumentException: "Invalid ref..." when uses an external link like "../demo#/components"

1 participant