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

Add the ability to set API info (title, description, license, terms and contact email) #73

Merged
merged 1 commit into from
Dec 9, 2013

Conversation

mattbeedle
Copy link
Contributor

I needed to have an API introduction and didn't see any way to do this, so I added it. Now you can say:

add_swagger_documentation info: {
  title: 'api title here',
  description: 'a longer description of the api and use cases/etc here',
  contact: 'contact email',
  license: 'the name of the license',
  license_url: 'the url of the license',
  terms_of_service_url: 'the url of the api terms and conditions'
}

@tim-vandecasteele tim-vandecasteele merged commit b480d89 into ruby-grape:master Dec 9, 2013
@dblock
Copy link
Member

dblock commented Jul 14, 2014

This is old, but it hasn't been documented in the README, @mattbeedle would really appreciate if you could add a PR. Thanks.

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.

3 participants