You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[119:24] body reference must be empty or start with #: $response.body.request_uri
[135:17] body reference must be empty or start with #: $response.body.code
From my reading of the Arazzo specification I believe body runtime expressions like this should be $response.body#/request_uri ie the runtime expression to the body and then a json pointer to the field within.
which defined the expression as "$response." source, source as source = ( header-reference / query-reference / path-reference / body-reference ) and body-reference as body-reference = "body" ["#" json-pointer ]
The text was updated successfully, but these errors were encountered:
TristanSpeakEasy
changed the title
Body runtime expression issues in examples arazzo docs
Body runtime expression issues in example arazzo docs
Sep 29, 2024
Hi,
I was just going over the example Arazzo documents you have and I found some issues in the documents.
For example in https://github.com/OAI/Arazzo-Specification/blob/977f586da14b65bd8e612b763267b8b728749e52/examples/1.0.0/FAPI-PAR.arazzo.yaml:
From my reading of the Arazzo specification I believe body runtime expressions like this should be $response.body#/request_uri ie the runtime expression to the body and then a json pointer to the field within.
This is based on the ABNF syntax here: spec.openapis.org/arazzo/latest.html#runtime-expressions
which defined the
expression
as"$response." source
,source
assource = ( header-reference / query-reference / path-reference / body-reference )
andbody-reference
asbody-reference = "body" ["#" json-pointer ]
The text was updated successfully, but these errors were encountered: