Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ABNF for runtime expressions complete #1756

Merged
merged 1 commit into from
Feb 7, 2019

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