def METHOD_NAME(self, obj, *args):
    if is_status_code_type(typing.get_origin(obj)):
        example, new_dict = None, None
        status_code = typing.get_origin(obj).__name__[1:]
        schema = self._handle_list(typing.get_args(obj)[0])
        if args:
            # example request exists
            try:
                example = schema["example"]
            except KeyError:
                pass
            if example:
                # update response body to match request
                new_dict = copy.deepcopy(schema)
                request = args[0]
                for key, value in request.items():
                    if key in example:
                        old_value = new_dict["example"][key]
                        if isinstance(old_value, dict):
                            old_value.update(value)
                        else:
                            new_dict["example"][key] = value
        if new_dict:
            self._oas_operation.responses[status_code].content = {
                "application/json": {"schema": new_dict}
            }
        else:
            self._oas_operation.responses[status_code].content = {
                "application/json": {"schema": schema}
            }
        desc = self._status_code_descriptions.get(int(status_code))
        if desc:
            self._oas_operation.responses[status_code].description = desc
    elif is_status_code_type(obj):
        status_code = obj.__name__[1:]
        self._oas_operation.responses[status_code].content = {}
        desc = self._status_code_descriptions.get(int(status_code))
        if desc:
            self._oas_operation.responses[status_code].description = desc