@speclynx/apidom-json-path
v3.2.1
Published
Evaluate JSONPath expressions against ApiDOM.
Readme
@speclynx/apidom-json-path
apidom-json-path is a package that evaluates JSONPath expressions against ApiDOM.
Installation
You can install this package via npm CLI by running the following command:
$ npm install @speclynx/apidom-json-pathThe API of this package is fully compliant with RFC 9535 and supports all aspects of JSONPath. Uses @swaggerexpert/jsonpath under the hood and fully reflects its API.
Evaluation is contextual to ApiDOM realm (ApiDOMEvaluationRealm) - meaning evaluate function
expects only ApiDOM as the first argument.
import { evaluate, ApiDOMEvaluationRealm } from '@speclynx/apidom-json-path';