Skip to content

Commit

Permalink
Merge pull request #40 from a-chacon/fix-default-body-response
Browse files Browse the repository at this point in the history
fix: default body response following the new syntax
  • Loading branch information
a-chacon authored Aug 23, 2024
2 parents 0eea56d + a397555 commit 268cb46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oas_rails/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 268cb46

Please sign in to comment.