mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates core-principles/rules-for-extending.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
# Minimal API Surface
|
||||
Every API design MUST aim for a minimal API surface without sacrificing on product requirements. API design SHOULD NOT include unnecessary resources, relations, actions or data. API design SHOULD NOT add functionality until deemed necessary ([YAGNI principle](https://martinfowler.com/bliki/Yagni.html)).
|
||||
Every API design **MUST** aim for a minimal API surface without sacrificing on product requirements. API design **SHOULD NOT** include unnecessary resources, relations, actions or data. API design **SHOULD NOT** add functionality until deemed necessary ([YAGNI principle](https://martinfowler.com/bliki/Yagni.html)).
|
||||
@@ -1,7 +1,7 @@
|
||||
# Rules for Extending
|
||||
Any modification to an existing API MUST avoid breaking changes and MUST maintain backward compatibility.
|
||||
Any modification to an existing API **MUST** avoid breaking changes and MUST maintain backward compatibility.
|
||||
|
||||
In particular, any change to an API MUST follow the following Rules for Extending:
|
||||
In particular, any change to an API **MUST** follow the following **Rules for Extending**:
|
||||
|
||||
1. **You MUST NOT take anything away** (related: [Minimal Surface Principle](core-principles/minimal-api-surface.md)
|
||||
, [Robustness Principle](core-principles/robustness.md))
|
||||
|
||||
Reference in New Issue
Block a user