Updates core-principles/robustness.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-01-30 12:24:38 +00:00
parent a647032913
commit 49ed534ea9
2 changed files with 9 additions and 0 deletions

View File

@@ -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)

View 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)).