-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Allow matching of specific reference resolvement depth #2120
Comments
I'm facing a similar requirement for some specific internal rules, @jonaslagoni, did you find a solution? In my case I just need to know if an object is a de-refrenced object and the ref itself. |
@SirAppSec I have unfortunately not no. |
User story.
As a user, I want to decide the level of reference matching for a rule.
Is your feature request related to a problem?
In AsyncAPI we can define messages as references:
And the message object that is being referenced, can also contain a reference.
I am unable to lint the reference within the referenced message object because I am not able to control the depth at which references should/should not be resolved.
Describe the solution you'd like
The only way I can think this can be solved is through a depth level that you can "target" reference resolvement 🤔 Not quite sure how easy it is to achieve though!
For example, given:
It would resolve the first reference only:
Maybe someone have a better way to achieve this? 🤔
The text was updated successfully, but these errors were encountered: