-
-
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: make server variables reuseable #174
feat: make server variables reuseable #174
Conversation
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.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
For the record, here is the diff between ➜ diff -u <(curl -s https://raw.githubusercontent.com/asyncapi/spec-json-schemas/master/schemas/2.3.0.json) <(curl -s https://raw.githubusercontent.com/asyncapi/spec-json-schemas/0af02c5b2799ae0ea23bb07e13e57d95d5a1dc60/schemas/2.4.0.json) --- /dev/fd/11 2022-02-16 12:55:18.730955251 +0100
+++ /dev/fd/12 2022-02-16 12:55:18.731524237 +0100
@@ -1,5 +1,5 @@
{
- "title": "AsyncAPI 2.3.0 schema.",
+ "title": "AsyncAPI 2.4.0 schema.",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
@@ -17,7 +17,7 @@
"asyncapi": {
"type": "string",
"enum": [
- "2.3.0"
+ "2.4.0"
],
"description": "The AsyncAPI specification version of this document."
},
@@ -270,6 +270,9 @@
"servers": {
"$ref": "#/definitions/servers"
},
+ "serverVariables": {
+ "$ref": "#/definitions/serverVariables"
+ },
"channels": {
"$ref": "#/definitions/channels"
}, |
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.
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 👍
/dnm |
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.
I think @smoya is right that we can't merge this into master as-is so we need to either park it for a bit, or switch the PR to target somewhere ready for the next release.
But those git-logistics aside, this looks like a good idea to me
we need to find volunteer to run |
@derberg we need a |
I volunteer 👍 |
oh, that was easy ❤️ branches created:
I highly recommend you start coordinating by opening an issue just like proposed by @dalelane in this PR and also using his updated release process instructions. I left few comments that but majority of the content is what should be followed |
I thought we would finally follow semantic-release and instead use I suggested it in the past in Slack as well: https://asyncapi.slack.com/archives/C0230UAM6R3/p1644418043568169 |
well I remember the discussion about |
I ended up creating such issue asyncapi/spec#734! Thanks @derberg for your suggestion! |
EDIT: NVM! better to wait first #182 to be merged. Then I will ping you again. Thanks. |
@smoya we still have it scheduled for April right? |
Yes, we do. asyncapi/spec#735 |
@danielkocot would you mind updating your branch with latest upstream changes? It seems there are some conflicts. |
I'm seeing a lot of changes in Markdown files. Is that expected? 🤔 |
/autoupdate |
I think for some reason, target branch didn't get updated with |
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.
all good but I see some conflicts there that will block merging
@danielkocot We are almost there! Only one thing pending: would you mind fixing the merge conflicts? After you do it, I will merge it. |
Kudos, SonarCloud Quality Gate passed! |
/rtm |
🎉 This PR is included in version 2.14.0-2022-04-release.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Part of asyncapi/spec#717
This PR adds
serverVariables
as reusable objects to be used incomponents
.Related issue(s)
asyncapi/spec#717