-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
[2.0.0 REVIEW] A case when both contentType
and defaultContentType
are missing
#421
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue. |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
I also just stumbled over this topic. messageObject makes the statement defaultContentType makes the statement I would actually read it like one of them MUST be present and just in case the value of The streetlights example also doesn't seem to have any of them which would be an error according to above reasoning. |
Yeah, we should probably have a default |
Closing as it's a duplicate of #319 |
Looking at the spec, it's not clear whether
contentType
anddefaultContentType
are required.These sections' writing makes ones assume the fields are not required, while others assume they are:
The issue was brought up in this issue asyncapi/tck#26 and reported because of this comment by @fmvilas: asyncapi/tck#26 (comment)
The text was updated successfully, but these errors were encountered: