diff --git a/lib/oas_rails/configuration.rb b/lib/oas_rails/configuration.rb index d0c9262..fc179e5 100644 --- a/lib/oas_rails/configuration.rb +++ b/lib/oas_rails/configuration.rb @@ -26,7 +26,7 @@ def initialize @security_schemas = {} @set_default_responses = true @possible_default_responses = [:not_found, :unauthorized, :forbidden] - @response_body_of_default = "{ message: String }" + @response_body_of_default = "Hash{ success: !Boolean, message: String }" end def security_schema=(value)