grape-swagger

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

Ruby

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

GrapeSwagger::RequestParamParsers::Headers#route

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/headers.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-GrapeSwagger--RequestParamParsers--Headers-route-for-pr


# Commit to git

git add lib/grape-swagger/request_param_parsers/headers.rbgit commit -m "better docs for GrapeSwagger::RequestParamParsers::Headers#route"


# 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--Headers-route-for-pr

hub pull-request


# Celebrate!