-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Extending Server.variables
field type
#775
Comments
I've issued a PR that remedies the situation and would probably suggest to go for 2.4.1 as soon as possible. |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
🎉 This issue has been resolved in version 3.0.0-next-major-spec.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 2.5.0-next-spec.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Recent comments about the release from the bot were added by mistake. More details in #899 |
As of version 2.4.0,
Server Variable Object
can now be defined inComponents.serverVariables
fixed field, which indicates re-usability. Here is an example that I've took from AsyncAPI 2.4.0 release article.Unfortunately according to the 2.4.0 version of the specification,
Server.variables
field doesn't allow to useReference Object
:In order to remedy this issue, we have to extend the
Server.variables
type toMap[string, [Server Variable Object | Reference Object]]
.Given we can now define re-usable
Server Variable Objects
inComponents.serverVariables
field, we cannot reuse them in any way in 2.4.0 version of the spec.Ref #707
The text was updated successfully, but these errors were encountered: