Skip to content

Conversation

MikeRalphson
Copy link
Member

Include referenced sub-syntaxes so we get down to terminal definitions and the example can be parsed / highlighted correctly.

source = ( header-reference | query-reference | path-reference | body-reference )
```abnf
expression = ( "$url" / "$method" / "$statusCode" / "$request." source / "$response." source )
source = ( header-reference / query-reference / path-reference / body-reference )
Copy link
Member

Choose a reason for hiding this comment

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

Did I just pick the wrong character here, or is there a difference between | and / ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've just checked RFC5234 and section 3.2 gives / as "alternative" but has no references to | or "pipe" or "vertical bar".

@webron webron merged commit b0ecc00 into OAI:v3.0.3-dev Feb 7, 2019
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.

3 participants