code: def add_gateway_responses(self, gateway_responses):
          
          self.gateway_responses = self.gateway_responses or {}
  
          for response_type, response in gateway_responses.items():
              self.gateway_responses[response_type] = response.generate_swagger()
docs: Add Gateway Response definitions to Swagger.
  
          :param dict gateway_responses: Dictionary of GatewayResponse configuration which gets translated.