lib/oas_rails/configuration.rb in oas_rails-0.4.5 vs lib/oas_rails/configuration.rb in oas_rails-0.5.0
- old
+ new
@@ -24,10 +24,10 @@
@authenticate_all_routes_by_default = true
@security_schema = nil
@security_schemas = {}
@set_default_responses = true
@possible_default_responses = [:not_found, :unauthorized, :forbidden]
- @response_body_of_default = { message: String }
+ @response_body_of_default = "{ message: String }"
end
def security_schema=(value)
return unless (security_schema = DEFAULT_SECURITY_SCHEMES[value])