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

Display fixes #190

Merged
merged 2 commits into from
Nov 6, 2015
Merged

Display fixes #190

merged 2 commits into from
Nov 6, 2015

Conversation

dgileadi
Copy link

@dgileadi dgileadi commented Nov 6, 2015

  1. Don't display undefined in the Example URI when no param.example exists.

  2. Don't include resource parameters for actions that have their own uriTemplate. This change is per the spec:

    URI parameters defined in the scope of a Resource section apply to any and all nested Action sections except when an URI template has been defined for the Action.

David Gileadi added 2 commits November 6, 2015 15:43
…Template

Per the spec at https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md#description-7

"URI parameters defined in the scope of a Resource section apply to any and all nested Action sections except when an URI template has been defined for the Action."
@danielgtaylor
Copy link
Owner

@dgileadi thanks for helping with these bugs!

danielgtaylor added a commit that referenced this pull request Nov 6, 2015
@danielgtaylor danielgtaylor merged commit 07bbcb5 into danielgtaylor:olio-theme Nov 6, 2015
@dgileadi dgileadi deleted the display-fixes branch November 6, 2015 23:28
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.

2 participants