docs: def make_response(self,
                        data: Any = None,
                        **kwargs: Any) -> Any:
          r"""Validate response data and wrap it inside response factory.
  
          :param data: Response data. Could be ommited.
          :param \*\*kwargs: Keyword arguments to be passed to response factory.
          """
          if not self._valid_request:
              logger.error('Request not validated, cannot make response')
              raise self.make_error('Request not validated before, cannot make '
                                    'response')
  
          if data is None and self.response_factory is None:
              logger.error('Response data omit, but no response factory is used')
              raise self.make_error('Response data could be omitted only when '
                                    'response factory is used')
  
          response_schema = getattr(self.module, 'response', None)
          if response_schema is not None:
              self._validate(data, response_schema)
  
          if self.response_factory is not None:
              return self.response_factory(
                  *([data] if data is not None else []),
                  **kwargs)
          return data