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(rulesets): add rule to check if messageId is defined #2281
base: develop
Are you sure you want to change the base?
feat(rulesets): add rule to check if messageId is defined #2281
Conversation
I have to update that PR to handle also cases with traits. For |
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 +1 to the change. I'm concerned about the possible breaking change this could become.
If any user relies on the operationId
for a critical feature, this change will possibly make their apps to fail.
I believe this should be considered a breaking change, but let's see what other maintainers say.
a743b87
to
d9a6cad
Compare
Yeah, I'd say it's a breaking change indeed. |
d9a6cad
to
d4990cb
Compare
@@ -297,7 +303,7 @@ channels: | |||
|
|||
### asyncapi-operation-operationId | |||
|
|||
This operation ID is essentially a reference for the operation. Tools may use it for defining function names, class method names, and even URL hashes in documentation systems. | |||
Each Operation must have an "operationId" field defined. Tools can use it to define function names, class method names and even URL hashes in documentation systems. |
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.
Each Operation must have an "operationId" field defined. Tools can use it to define function names, class method names and even URL hashes in documentation systems. | |
Each Operation must have an "operationId" field defined. Tools may use it to define function names, class method names, and even URL hashes in documentation systems. |
cf3ae99
to
761c65a
Compare
4b6a9e1
to
33deb2b
Compare
dc9d7f4
to
44c40e2
Compare
02ec0d4
to
84faec8
Compare
9e92f34
to
6d09915
Compare
dc90b7a
to
c22f408
Compare
Checklist
Does this PR introduce a breaking change?
Additional context
asyncapi-operation-operationId
rule from error to warningasyncapi-message-messageId
rule, with similar functionality likeasyncapi-operation-operationId
cc @jonaslagoni @smoya