class Rswag::Api::Configuration

Attributes

swagger_filter[RW]
swagger_root[RW]

Public Instance Methods

resolve_swagger_root(env) click to toggle source
# File lib/rswag/api/configuration.rb, line 6
def resolve_swagger_root(env)
  path_params = env['action_dispatch.request.path_parameters'] || {}
  path_params[:swagger_root] || swagger_root
end