diff --git a/rswag-specs/lib/rswag/specs/response_validator.rb b/rswag-specs/lib/rswag/specs/response_validator.rb index 2c54874..23b2c34 100644 --- a/rswag-specs/lib/rswag/specs/response_validator.rb +++ b/rswag-specs/lib/rswag/specs/response_validator.rb @@ -62,7 +62,7 @@ module Rswag swagger_doc.slice(:definitions) else components = swagger_doc[:components] || {} - { components: { schemas: components[:schemas] } } + { components: components } end end end