ruby-grape / grape-swagger-rails

Swagger UI as Rails Engine for grape-swagger gem.
MIT License
251 stars 197 forks source link

Add before_index proc so that it can be called every time index is hit #85

Open boberetezeke opened 6 years ago

boberetezeke commented 6 years ago

I needed a hook so that I could create an oauth token based on the logged in user

grape-bot commented 6 years ago
2 Warnings
:warning: There’re library changes, but not tests. That’s OK as long as you’re refactoring existing code.
:warning: Unless you’re refactoring existing code, please update CHANGELOG.md.

Here's an example of a CHANGELOG.md entry:

* [#85](https://github.com/ruby-grape/grape-swagger-rails/pull/85): Add before_index proc so that it can be called every time index is hit - [@boberetezeke](https://github.com/boberetezeke).

Generated by :no_entry_sign: danger

dblock commented 6 years ago

This needs doc, tests and a passing build please.