mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates core-principles/robustness.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -10,4 +10,5 @@
|
||||
* [Testing](core-principles/testing.md)
|
||||
* [Design Maturity](core-principles/design-maturity.md)
|
||||
* [Implementation Maturity](core-principles/implementation-maturity.md)
|
||||
* [Robustness](core-principles/robustness.md)
|
||||
|
||||
|
||||
8
core-principles/robustness.md
Normal file
8
core-principles/robustness.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Robustness
|
||||
Every API implementation and API consumer MUST follow Postel's law:
|
||||
|
||||
> "Be conservative in what you send, be liberal in what you accept."
|
||||
> – [John Postel](https://en.wikipedia.org/wiki/Robustness_principle)
|
||||
|
||||
That is, send as little as possible (minimize the API surface) and be tolerant as possible while consuming another service ([tolerant reader](https://martinfowler.com/bliki/TolerantReader.html)).
|
||||
|
||||
Reference in New Issue
Block a user