code: def response_helper(self, response, **kwargs):
          
          self.resolve_schema(response)
          if "headers" in response:
              for header in response["headers"].values():
                  self.resolve_schema(header)
          return response
docs: Response component helper that allows using a marshmallow
          :class:`Schema <marshmallow.Schema>` in response definition.
  
          :param dict parameter: response fields. May contain a marshmallow
              Schema class or instance.