-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat!: remove duplicate schemas #533
feat!: remove duplicate schemas #533
Conversation
Think we have to move this over to a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks valid for me
@dalelane @lbroudoux because of the Kafka binding change Github need one of you to take a look when you can 🤙 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀🌔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jonaslagoni Not a good deal to have the need of serving those common schemas under the path common
on the root of http://asyncapi.com
. Not only because the need of adding an extra redirection but also because it is requiring a new path /common
that is not so intuitive in terms of naming (what is common in relation to the AsyncAPI website?).
WDYT about http://asyncapi.com/schemas/common
? This will require a move of the common
dir under schemas
directory.
Schemas hold the bundled versions, and think we should keep it clean like that 🤔 What about under |
Fine with it. |
@jonaslagoni @smoya maybe repeat structure from jasyncapi? Current tests, which I'm writing now, in other branch, were grouped by next logic
They could be unified for all versions, but in v3 version one property was renamed for OAuth2 flow 😣 |
@Pakisan mind opening an issue for it? 🙂 It will for sure be lost in this PR 😅 |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀🌔
🎉 This PR is included in version 7.0.0-next-major.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Even though we enabled the reusability of schemas in #364, the documents were never adapted, leaving a lot of unnecessary documents. This removes those and uses the common definitions.
This means there will no longer be anything called
http://asyncapi.com/definitions/x.x.x/avroSchema_v1.json
orhttp://asyncapi.com/definitions/x.x.x/openapiSchema_3_0.json
but onlyhttp://asyncapi.com/common/avroSchema_v1.json
andhttp://asyncapi.com/common/openapiSchema_3_0.json
Related issue(s)
Should have been fixed as part of #364