-
Notifications
You must be signed in to change notification settings - Fork 476
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
Conversation
RuboCop! please fix the build to start. |
This needs a CHANGELOG entry and a README update, please. |
rubochangeme updated. |
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} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space out { example: 72 }
.
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. |
476a880
to
a0ab498
Compare
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). |
There was a problem hiding this comment.
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.
5284406
to
cd6f838
Compare
@@ -1,6 +1,6 @@ | |||
### 0.10.2 (Next) | |||
|
|||
* Your contribution here. |
There was a problem hiding this comment.
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.
…ithout a Grape default
Should be all set once Travis does his thing |
Add grape/swagger defaultValue support
Merged, thank you. |
See issue #215