Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JSONata - Parse Open API v2 Spec by Path, Operation, Description and Tags
/* OAS Path Ops and Tags */
(
$.paths.*#$index.**.operationId.{
/*"pathIndex": $index,*/
"path": $keys($$.paths)[$index],
"operationid": %.operationId,
"description": %.description,
"tags":%.tags
};
)
@dexterlabora

This comment has been minimized.

Copy link
Owner Author

@dexterlabora dexterlabora commented Feb 12, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment