Repository navigation
Rule to look at two different section in the API schema #2205
Unanswered
pemba-sherpa-sage
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to write a rule where I need to look at the property name at two different levels (one directly under schema and another one under Properties). The rule should make sure if
x-mappedTo( Cat in the below example) exists in the schema level, the properties should have x-mappedTo as well and vice-versa. Has anyone written a similar kind of rule? I am looking for ideas.All reactions