FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Make ABNF for runtime expressions complete by MikeRalphson · Pull Request #1756 · OAI/OpenAPI-Specification · GitHub

Make ABNF for runtime expressions complete - #1756

Merged
webron merged 1 commit into
OAI:v3.0.3-devfrom
MikeRalphson:abnf-fix
Feb 7, 2019
Merged

Make ABNF for runtime expressions complete#1756
webron merged 1 commit into
OAI:v3.0.3-devfrom
MikeRalphson:abnf-fix

Conversation

Copy link
Copy Markdown
Member

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

Comment thread versions/3.0.3.md
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

webron merged commit b0ecc00 into OAI:v3.0.3-dev Feb 7, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL