Skip to content
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

How to get value of $ref field from Context.api ? #1503

Open
saloniudani opened this issue Jul 24, 2024 · 1 comment
Open

How to get value of $ref field from Context.api ? #1503

saloniudani opened this issue Jul 24, 2024 · 1 comment
Labels

Comments

@saloniudani
Copy link

I am trying to create a custom rule where I want to get all properties which uses $ref to refer some other object. I want to get the value of $ref field and also the property name. If I am using context.api.getAllProperties() then I get fully resolved properties with all null ref.

@ePaul ePaul added the question label Nov 12, 2024
@ePaul
Copy link
Member

ePaul commented Nov 12, 2024

Hi, did you solve your question, or is it still open?
If the latter, could you post a piece of code showing what you want to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants