grape-swagger
https://github.com/ruby-grape/grape-swagger
Ruby
Add OAPI/swagger v2.0 compliant documentation to your grape API
Grape::Endpoint#prepare_type_and_format
No Docs, write some!
Edit
git clone git@github.com:ruby-grape/grape-swagger.git
cd grape-swagger
open lib/grape-swagger/endpoint.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Grape--Endpoint-prepare_type_and_format-for-pr
# Commit to gitgit add lib/grape-swagger/endpoint.rbgit commit -m "better docs for Grape::Endpoint#prepare_type_and_format"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Grape--Endpoint-prepare_type_and_format-for-pr
hub pull-request
# Celebrate!