grape-swagger

https://github.com/ruby-grape/grape-swagger

Ruby

Add OAPI/swagger v2.0 compliant documentation to your grape API

GrapeSwagger::RequestParamParsers::Body#includes_body_param?

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone git@github.com:ruby-grape/grape-swagger.git

cd grape-swagger

open lib/grape-swagger/request_param_parsers/body.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-GrapeSwagger--RequestParamParsers--Body-includes_body_param--for-pr


# Commit to git

git add lib/grape-swagger/request_param_parsers/body.rbgit commit -m "better docs for GrapeSwagger::RequestParamParsers::Body#includes_body_param?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-GrapeSwagger--RequestParamParsers--Body-includes_body_param--for-pr

hub pull-request


# Celebrate!