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

Fix defaultValue. #87

Closed
wants to merge 1 commit into from
Closed

Fix defaultValue. #87

wants to merge 1 commit into from

Conversation

m-o-e
Copy link
Contributor

@m-o-e m-o-e commented Feb 15, 2014

grape-swagger 0.7.2 tries to map
'defaultValue' -> 'defaultValue'

But there is no such attribute in grape 0.6.1.
This patch makes it work by changing the above to:
'default' -> 'defaultValue'

grape-swagger 0.7.2 tries to map
  'defaultValue' -> 'defaultValue'

But there is no such attribute in grape 0.6.1.
This patch makes it work by changing the above to:
  'default' -> 'defaultValue'
@phallstrom
Copy link

👍

@phallstrom
Copy link

There's a second spot it needs to be replaced as well (for headers)

phallstrom@2f26cc6

renier pushed a commit to renier/grape-swagger that referenced this pull request Jun 9, 2014
This is from pull request ruby-grape#87

Conflicts:
	lib/grape-swagger.rb
@justfalter
Copy link
Contributor

+1 Would like to see this in grape-swagger very much.

@dblock
Copy link
Member

dblock commented Jul 14, 2014

Merged via tim-vandecasteele@03f1dab. Sorry for the delay.

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.

4 participants