Module: GrapeSwagger::DocMethods

Defined in:
lib/introspective_grape/camel_snake.rb

Class Method Summary collapse

Class Method Details

.extended(mod) ⇒ Object



44
45
46
47
# File 'lib/introspective_grape/camel_snake.rb', line 44

def self.extended(mod)
  # Do not camelize the grape-swagger documentation endpoints.
  mod.formatter :json, Grape::Formatter::Json
end