-
Notifications
You must be signed in to change notification settings - Fork 472
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
multi type and documentation hash #444
Conversation
resolve issue #443 |
@@ -2,11 +2,12 @@ | |||
|
|||
#### Features | |||
|
|||
* Your contribution here. | |||
* when a parameter as multi types the first type is use as the documentation type |
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.
please could adept it to the normal changelog format, thanks
👍 … thanks, good work, please run |
sorry |
@scauglog please adept the travis file, this feature is only available for grape >= 0.14.0 |
when :type and :default are provided in a documenation hash they override grape :type and :default
I run the multi type test only |
@scauglog … nice solution ≥ and if a user tries to uses |
yes, grape will raise an so now I test |
@scauglog … thanks 👍 |
* multi type parameter default to first type when :type and :default are provided in a documenation hash they override grape :type and :default * rubocop style * changelog style * test multi type only if grape >= 0.14 * rubocop style * test for muli type with grape<0.14
multi type parameter default to first type
when :type and :default are provided in a documenation hash they override grape :type and :default