mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
yield entire response instead of only the body
This commit is contained in:
@@ -48,7 +48,7 @@ module Rswag
|
||||
raise UnexpectedResponse, "Expected response body to match schema: #{ex.message}"
|
||||
end
|
||||
|
||||
block.call(JSON.parse(body)) if block_given?
|
||||
block.call(body) if block_given?
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user