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

document getEntityData #1344

Merged
merged 3 commits into from
Aug 7, 2024
Merged

document getEntityData #1344

merged 3 commits into from
Aug 7, 2024

Conversation

punkle
Copy link
Contributor

@punkle punkle commented Aug 7, 2024

No description provided.

@punkle punkle requested review from dtuite and a team August 7, 2024 08:56

If you want to parse request entity information in the JSONata context you can use the `$getEntityData` function. An example query could be like the following:
* Data Provider Type: Entity Definition
* Fact Name: OpenAPI Spec Version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Fact Name: OpenAPI Spec Version
* Fact Name: First Target Ref of relations

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This @punkle still

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does fact name mean?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it depends what kind of example you want to display within this block. Judging from the query below, it is not getting OpenAPI spec version

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see what you mean.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about that.

Co-authored-by: Jussi Hallila <jussi@hallila.com>
@punkle punkle requested a review from Xantier August 7, 2024 09:26
Copy link

sonarcloud bot commented Aug 7, 2024

@punkle punkle merged commit c4b2c5e into main Aug 7, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants