-
-
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
Possible bug with example - adeo-kafka-request-reply-asyncapi #1031
Comments
Regarding point 1, I see the regex we show in our documentation doesn't correspond with the one enforced in our JSON Schema documents, which indeed allows for Regarding point 2, yes you are right: there is no |
Yes, you are right. We need to discuss and decide which pattern to use. That's why I requested clarification. Because are using description from out website and not digging into our JSON Schemas, to write specs, and that's is a reason why I receive issues, with parsing errors, from users
I'll create MR with fix for adeo example, tonight |
@smoya @fmvilas @derberg I think that docs must be fixed, because we already released 3.0.0 with this regex - I'll crate MR tonight |
I agree, unless allowing dots in the extension name has an edge case I can't see. |
Topic:
|
EDIT: I realize you specified you were talking about the |
I understood root of this problems. Here is fresh example - asyncapi/jasyncapi#160
I'm sure that we must update status of OAS extensions or at least discuss them to decrease number of questions tldr; Looks like JAsyncAPI is the most strict implementation of our specification 😅 |
Even though we could see this as a UX improvement, I wouldn't add it as we already have |
Yeah, you are right, that we already have That's why I receive questions in DM or MR with proposals to change discriminator property or add It's already happen, so we must clarify this situation and decide what to do with properties from OAS schema upd: de facto: users can use them |
I think we are clear "enough" about that in https://www.asyncapi.com/docs/reference/specification/v3.0.0#schemaObject. The fact people is used to OAS and thinks not having those in the AsyncAPI Schema Object is a bug might be because they don't read the docs (not hard feelings, just clarifying btw). However, it might make sense to discuss if any of those extra fields (added in the OAS Schema) could also make sense into AsyncAPI Schema object. IMHO, taking the I guess this could go into a new issue anyway. |
Yep, I'm agree with you. Will close this issue as resolved, after MR with fix for regex will be merged After that I'll create new issue to refresh discussion about field from OAS schema and will provide related issues from jasyncapi and modelina |
merged now btw! 🎉 🚀 |
Strange but after adding #1034 the adeo example fails validation. We definitely need to push #957 for next bounty:
yeah, don't even get me started on the quality of errors 😄 anyway, the issue is related to |
What a twist |
Reason for the failed validation is i.e. should be the following:
It's a YAML syntax where lone numbers without characters are interpreted as integer not string by default as you see in the other examples. However... The error codes SUCKS and does not explain it in studio 👎 |
@derberg @jonaslagoni can I close issue? |
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 ❤️ |
Hi!
I'm not sure, but looks like this example is broken - https://github.com/asyncapi/spec/blob/master/examples/adeo-kafka-request-reply-asyncapi.yml
I checked It in Studio - no warnings, but when I tried to parse this example using JAsyncAPI I enfaced with errors
I found two strange things:
This property name
x-key.subject.name.strategy
must not be interpreted as valid because of our regex^x-[\w\d\-\_]+$
or not?I may be wrong, but draft-07 doesn't have such field, only examples or not?
The text was updated successfully, but these errors were encountered: