Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path Item $ref change warning (3.1.1) #3860

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

handrews
Copy link
Member

Fixes:

Previously we deprecated the special $ref behavior entirely, but doing so violates the compatibility guidelines that we have re-established for ourselves within 3.x. This wording allows changes in 3.2, but emphasizes convergence rather than discouraging the usage.

NOTE: I'm not sure what we should do for this in 3.2, but options include treating summary and description like in the Reference Object but retaining the special behavior for the other entries, and/or allowing the same overwriting for some or all other Path Item entries (although I am reluctant to open that can of worms with parameters). We could also just formalize the behavior that is currently undefined in some way (e.g. make it a clear error - undefined behavior can be changed to anything without breaking compatibility, but defined behavior cannot be removed).

Previously we deprecated the special $ref behavior entirely, but
doing so violates the compatibility guidelines that we have
re-established for ourselves within 3.x.  This wording allows
changes in 3.2, but emphasizes convergence rather than
discouraging the usage.
@handrews handrews added bug re-use: traits/merges Selective or modified re-use labels May 27, 2024
@handrews handrews added this to the v3.1.1 milestone May 27, 2024
@handrews handrews requested a review from a team May 27, 2024 20:03
@handrews handrews added re-use: ref/id resolution how $ref, operationId, or anything else is resolved labels May 27, 2024
Copy link
Contributor

@ralfhandl ralfhandl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, please add link

versions/3.1.1.md Outdated Show resolved Hide resolved
ralfhandl
ralfhandl previously approved these changes May 28, 2024
lornajane
lornajane previously approved these changes Jun 6, 2024
@handrews handrews dismissed stale reviews from lornajane and ralfhandl via 54b4d1b June 6, 2024 17:06
@ralfhandl ralfhandl merged commit 6f8a0d7 into OAI:v3.1.1-dev Jun 6, 2024
1 check passed
@handrews handrews deleted the path-item-ref-311 branch June 21, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug re-use: ref/id resolution how $ref, operationId, or anything else is resolved re-use: traits/merges Selective or modified re-use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants