Clarify Breaking/Non-Breaking Changes and Improve Configuration Mechanism #724
Replies: 1 comment
-
I would like to propose my vision for solving this problem:
Proposed сonfiguration mechanismLeverage CSV-Based Rule Structure Example Table Structure
Please note: the data in the example can be controversial; it is just an example. I have worked with GitHub Copilot to create a table based on the OpenAPI 3.1 JSON Schema, which can serve as a starting point. A full table is available here: https://docs.google.com/spreadsheets/d/1S_YWL1FLYBtQFL09jMZkhaKtvT0PJ9ooMzj5CANMrj4. Please feel free to request access through Google Sheets if you would like to participate or view. This approach will make the rules clear, configurable, and extensible. I look forward to your feedback and contributions to enhance this process! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve noticed that questions and issues related to how the library interprets breaking vs. non-breaking changes come up quite frequently:
https://github.com/OpenAPITools/openapi-diff/issues?q=label%3A%22Breaking%2FNon-Breaking%20classification%22
It seems like a good idea to start by documenting the library’s current behavior (e.g., in the README file). This could serve as a foundation for further discussions on what qualifies as breaking and what does not.
From what I’ve observed, it’s unlikely that a single approach will suit everyone’s needs. To address this, we might need a mechanism that allows users to configure how each rule is interpreted. Fortunately, we already have a configuration mechanism – BackwardIncompatibleProp – that can be utilized for this purpose.
I propose using this discussion to
Looking forward to your thoughts and suggestions!
Beta Was this translation helpful? Give feedback.
All reactions