lib/napa/grape_api.rb in napa-0.1.10 vs lib/napa/grape_api.rb in napa-0.1.11
- old
+ new
@@ -1,15 +1,9 @@
require 'grape'
-require 'grape-swagger'
-
class Napa::GrapeAPI < Grape::API
-
def after
@app_response[1]['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
@app_response[1]['Pragma'] = 'no-cache'
@app_response[1]['Expires'] = 'Fri, 01 Jan 1990 00:00:00 GMT'
@app_response
end
-
- add_swagger_documentation
-
end