Sha256: 8ffa6ff0ec592abb74cc42927a0268885b0ed50065ac43a231ce53e839f926a1

Contents?: true

Size: 508 Bytes

Versions: 2

Compression:

Stored size: 508 Bytes

Contents

module SwaggerUiEngine
  class Configuration
    # Configurable options
    OPTIONS = [
      :admin_username,
      :admin_password,
      :doc_expansion,
      :json_editor,
      :model_rendering,
      :oauth_client_id,
      :oauth_client_secret,
      :oauth_realm,
      :oauth_app_name,
      :oauth_scope_separator,
      :oauth_query_string_params,
      :request_headers,
      :swagger_url,
      :translator_enabled,
      :validator_enabled,
    ].freeze

    attr_accessor(*OPTIONS)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swagger_ui_engine-1.0.2 lib/swagger_ui_engine/configuration.rb
swagger_ui_engine-1.0.1 lib/swagger_ui_engine/configuration.rb