spec: v3 introduces some regression if it comes to `parameters` description
In short, no more JSON schema for parameters in v3 -> https://github.com/asyncapi/spec/blob/next-major-spec/spec/asyncapi.md#user-content-parameter-object
But I just discovered one example that actually uses pattern keyword from JSON schema -> https://github.com/asyncapi/spec/blob/master/examples/rpc-client.yml#L21
- Now, it is not something that I see in a production use cases, just one of our examples
- Also, affected users might be not many
I think that the impact is small, will not affect adoption and it is completely fine if we add it v3.1
But I want to make sure other codeowners don’t see a problem
cc codeowners @fmvilas @dalelane @smoya @char0n
fyi @jonaslagoni
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 5
- Comments: 18 (9 by maintainers)
+1
I missed yesterday the pattern for parameters.
Voting as well for re add it.
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 ❤️
@smoya I mean’t I haven’t seen any production-used asyncapi document that would use
pattern. I just noticed we have it in one of our examples. This is why I agree to not push to solve this regression in 3.0@smoya what you mention is addressed in https://github.com/asyncapi/converter-js/pull/192 by @jonaslagoni
@jonaslagoni did you remember to add it to migration guide?
Do you mean the converter? If so, we already do give the user information about this in the form of a warning 🙂