原书出处
RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)
03 超媒体接口设计
An effective approach to modifying response bodies that are already in production is to adopt the “Don’t Change It, Add It” rule (see “Don’t change it, add it”). That means you leave any existing elements in place and simply include new elements in the current response body. You can also design your response formats to support a simple name-value-pair collection where you can place additional new properties (of any type, including arrays). See the following examples for details.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch03.xhtml
EPUB SHA-256:db552473a29e61f8a9429a17bbb5c0a47985d7cbbfd2d402bce45fc4b11ee389