Definition of a breaking change #3793
Replies: 3 comments 2 replies
-
I'm not aware of a standard that goes into that level of detail, but generally if something worked before and then doesn't work, that's a breaking change. So if a tool respects those This is a little more complex because tools are not required to recognize all Does that answer your question? Please let me know if I misinterpreted it! |
Beta Was this translation helpful? Give feedback.
-
@handrews thanks. The closest I found was from the openapi diff tool. https://github.com/Tufin/oasdiff/blob/main/BREAKING-CHANGES-EXAMPLES.md This is fairly extensive. It details lots of breaking changes, non breaking change and then "info - level" changes. Format changes are considered info-level. |
Beta Was this translation helpful? Give feedback.
-
I am reminded of an old xkcd: every change is breaking And, related, Hyrum's law |
Beta Was this translation helpful? Give feedback.
-
Most API vendors follow something akin to Postel's law, but careful what you send and liberal in what you accept and as a result don't consider adding new attributes to a payload response a "breaking change".
However, something like changing the data type they would. But, OAS also supports format. So you can have a integer type and a format of int32 and int64. Wondering if you change the type is this considered a breaking change?
Can see any standard for this?
Would welcome thoughts.
Beta Was this translation helpful? Give feedback.
All reactions