grape-swagger

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

Ruby

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

CategoryPolicy#update?

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:ruby-grape/grape-swagger.git

cd grape-swagger

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-CategoryPolicy-update--for-pr


# Commit to git

git add git commit -m "better docs for CategoryPolicy#update?"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-CategoryPolicy-update--for-pr

hub pull-request


# Celebrate!