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

OpenAPI 3.1.0 support: allowMetaPatches #2760

Closed
char0n opened this issue Jan 5, 2023 · 3 comments
Closed

OpenAPI 3.1.0 support: allowMetaPatches #2760

char0n opened this issue Jan 5, 2023 · 3 comments

Comments

@char0n
Copy link
Member

char0n commented Jan 5, 2023

Current implementation of allowMetaPatches resolve option assumes that everything is JSON Pointer and construct absolute one when generating meta patches. Starting from OpenAPI 3.1.0 this is no longer true, as different mechanism can be used along with JSON Pointer, included but not limited to JSON Schema anchor, JSON Schema $id...

The goal of this issue to generate meta patches by keeping the form of original referencing mechanism relative to current document.

Test of resolution with allowMetaPatches MUST be provided for resolver.

@char0n char0n self-assigned this Jan 5, 2023
@char0n char0n closed this as completed Jan 6, 2023
@swagger-bot
Copy link
Contributor

🎉 This issue has been resolved in version 3.19.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@swagger-bot
Copy link
Contributor

🎉 This issue has been resolved in version 3.19.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@swagger-bot
Copy link
Contributor

🎉 This issue has been resolved in version 3.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants