Module: GrapeSwagger::DocMethods

Defined in:
lib/introspective_grape/camel_snake.rb

Class Method Summary collapse

Class Method Details

.extended(mod) ⇒ Object



46
47
48
49
# File 'lib/introspective_grape/camel_snake.rb', line 46

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