@@ -67,7 +67,7 @@ def operation(self, diff_entry):
67
67
return
68
68
69
69
# Is this a new operation, inside a known operation group?
70
- function_name , parameter_name , * remaining_path = remaining_path
70
+ function_name , * remaining_path = remaining_path
71
71
if not remaining_path :
72
72
if is_deletion :
73
73
self .breaking_changes .append (_REMOVE_OPERATION .format (operation_name , function_name ))
@@ -80,7 +80,7 @@ def operation(self, diff_entry):
80
80
return
81
81
82
82
# So method signaure changed. Be vague for now
83
- self .breaking_changes .append (_SIGNATURE_CHANGE .format (operation_name , function_name , parameter_name ))
83
+ self .breaking_changes .append (_SIGNATURE_CHANGE .format (operation_name , function_name ))
84
84
85
85
def models (self , diff_entry ):
86
86
path , is_deletion = self ._unpack_diff_entry (diff_entry )
@@ -144,7 +144,7 @@ def models(self, diff_entry):
144
144
## Breaking Changes
145
145
_REMOVE_OPERATION_GROUP = "Removed operation group {}"
146
146
_REMOVE_OPERATION = "Removed operation {}.{}"
147
- _SIGNATURE_CHANGE = "Operation {}.{} has a new signature {} "
147
+ _SIGNATURE_CHANGE = "Operation {}.{} has a new signature"
148
148
_MODEL_SIGNATURE_CHANGE = "Model {} has a new signature"
149
149
_MODEL_PARAM_DELETE = "Model {} no longer has parameter {}"
150
150
_MODEL_PARAM_ADD_REQUIRED = "Model {} has a new required parameter {}"
0 commit comments