You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require.Equal(t, "removed the optional property 'breed' from the response with the '200' status", errs[0].GetUncolorizedText(checker.NewDefaultLocalizer()))
require.Equal(t, "removed the optional write-only property 'other' from the response with the '200' status", errs[0].GetUncolorizedText(checker.NewDefaultLocalizer()))
Copy file name to clipboardExpand all lines: docs/BREAKING-CHANGES-EXAMPLES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,8 @@ These examples are automatically generated from unit tests.
99
99
[removing an existing required response header is breaking as error](../checker/check_breaking_test.go?plain=1#L207)
100
100
[removing an existing response with non-successful status is breaking (optional)](../checker/check_breaking_test.go?plain=1#L246)
101
101
[removing an existing response with successful status is breaking](../checker/check_breaking_test.go?plain=1#L227)
102
+
[removing an optional field from the request body is breaking (optional)](../checker/check_breaking_test.go?plain=1#L747)
103
+
[removing an optional field from the response body is breaking (optional)](../checker/check_breaking_test.go?plain=1#L773)
102
104
[removing an schema object from components is breaking (optional)](../checker/check_breaking_test.go?plain=1#L619)
103
105
[removing the default value of an optional request parameter is breaking](../checker/check_breaking_test.go?plain=1#L582)
104
106
[removing the path without a deprecation policy and without specifying sunset date is breaking for endpoints with non draft/alpha stability level](../checker/check_api_removed_test.go?plain=1#L125)
0 commit comments