Commit 8d804d4
authored
fix: Adding response media type is breaking change (#328)
Adding a response media type is a non-breaking change, as long as preexisting ones are still compatible. Clients still can requests all existing media type via `Accept` header as they have done before.
Removing an existing media type on the over hand is a breaking change, because existing client's requesting this response representation (again via `Accept` header) will probably get a `406 Not Acceptable`.1 parent 4faa09b commit 8d804d4
File tree
2 files changed
+3
-3
lines changed- core/src
- main/java/org/openapitools/openapidiff/core/model
- test/java/org/openapitools/openapidiff/core
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments