Skip to content

Add grape/swagger defaultValue support #223

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 1 commit into from
Mar 12, 2015

Conversation

thatsanicehat
Copy link
Contributor

See issue #215

@dblock
Copy link
Member

dblock commented Mar 5, 2015

RuboCop! please fix the build to start.

@dblock
Copy link
Member

dblock commented Mar 5, 2015

This needs a CHANGELOG entry and a README update, please.

@thatsanicehat
Copy link
Contributor Author

rubochangeme updated.

@dblock
Copy link
Member

dblock commented Mar 5, 2015

Would you please squash these? I'll do a thorough review soon.


params do
requires :id, type: Integer, desc: 'Coffee ID'
requires :temperature, type: Integer, desc: 'Temperature of the coffee in celcius', documentation: {example: 72}
Copy link
Member

Choose a reason for hiding this comment

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

Space out { example: 72 }.

@dblock
Copy link
Member

dblock commented Mar 12, 2015

Would you mind squashing these and rebasing? There were a bunch of changes upstream. Add a comment so I can merge this after, please. Sorry for the hassle.

@thatsanicehat thatsanicehat force-pushed the master branch 2 times, most recently from 476a880 to a0ab498 Compare March 12, 2015 15:08
@thatsanicehat
Copy link
Contributor Author

Squashed/rebased. no problem at all.

@@ -11,6 +11,7 @@

#### Features

* [#215](https://github.com/tim-vandecasteele/grape-swagger/pull/217): Support swagger `defaultValue` without the need to set a Grape `default` - [@jv-dan](https://github.com/jv-dan).
Copy link
Member

Choose a reason for hiding this comment

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

This was already released, move this up to Next please.

@thatsanicehat thatsanicehat force-pushed the master branch 2 times, most recently from 5284406 to cd6f838 Compare March 12, 2015 15:15
@@ -1,6 +1,6 @@
### 0.10.2 (Next)

* Your contribution here.
Copy link
Member

Choose a reason for hiding this comment

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

Put back that one, below! Thanks. I promise, last request.

@thatsanicehat
Copy link
Contributor Author

Should be all set once Travis does his thing

dblock added a commit that referenced this pull request Mar 12, 2015
Add grape/swagger defaultValue support
@dblock dblock merged commit a0f6ad9 into ruby-grape:master Mar 12, 2015
@dblock
Copy link
Member

dblock commented Mar 12, 2015

Merged, thank you.

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