Skip to content

Instantly share code, notes, and snippets.

@dexterlabora
Created February 12, 2021 11:38
Show Gist options
  • Select an option

  • Save dexterlabora/0dfb2d1d4c44e2e74ae34ca237046605 to your computer and use it in GitHub Desktop.

Select an option

Save dexterlabora/0dfb2d1d4c44e2e74ae34ca237046605 to your computer and use it in GitHub Desktop.

Revisions

  1. dexterlabora created this gist Feb 12, 2021.
    10 changes: 10 additions & 0 deletions jsonata-openapi-parse-ops-paths.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    /* OAS Path Ops and Tags */
    (
    $.paths.*#$index.**.operationId.{
    /*"pathIndex": $index,*/
    "path": $keys($$.paths)[$index],
    "operationid": %.operationId,
    "description": %.description,
    "tags":%.tags
    };
    )