lib/swagger_yard/configuration.rb in swagger_yard-1.1.0 vs lib/swagger_yard/configuration.rb in swagger_yard-1.1.1

- old
+ new

@@ -4,10 +4,11 @@ attr_accessor :swagger_version attr_accessor :title, :description attr_accessor :controller_path, :model_path attr_accessor :path_discovery_function attr_accessor :security_definitions + attr_accessor :include_private # openapi-compatible names alias openapi_version swagger_version alias openapi_version= swagger_version= alias security_schemes security_definitions @@ -18,9 +19,10 @@ @api_version = "0.1" @title = "Configure title with SwaggerYard.config.title" @description = "Configure description with SwaggerYard.config.description" @security_definitions = {} @external_schema = {} + @include_private = true end def external_schema(mappings = nil) mappings.each do |prefix, url| @external_schema[prefix.to_s] = url