8000 Add attributes for request and response by yuters · Pull Request #14 · dingo/blueprint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add attributes for request and response #14

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

Merged
merged 2 commits into from
Nov 30, 2015
Merged

Add attributes for request and response #14

merged 2 commits into from
Nov 30, 2015

Conversation

yuters
Copy link
Contributor
@yuters yuters commented Oct 13, 2015

This allows to add Attributes specifically for a Request or a Response object.

Example

@Request(body={
    "name": "jason",
}, attributes={
    @Attribute("name", type="string", description="The user name", sample="jason")
})

Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com>
jasonlewis added a commit that referenced this pull request Nov 30, 2015
@jasonlewis jasonlewis merged commit ad74a02 into dingo:master Nov 30, 2015
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
0