File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11# API Evolution pattern
22
3- API evolution: Updating an API while keeping it compatible for existing consumers by adding new features, fixing bugs,
3+ API evolution: Updating an API while keeping it compatible for existing consumers by adding new features, fixing bugs,
44planning and removing outdated features.
55
66## How it works
@@ -34,7 +34,7 @@ class HomeHandler implements RequestHandlerInterface
3434...
3535```
3636
37- In the example above, the `` ResourceDeprecation `` attribute is attached to the class, marking the entire ` / ` (home)
37+ In the example above, the `` ResourceDeprecation `` attribute is attached to the class, marking the entire ` / ` (home)
3838endpoint as deprecated starting from ` 2038-01-01 ` .
3939
4040Running the following curl will print out the response headers where we can see the ** Sunset** and ** Link** headers.
You can’t perform that action at this time.
0 commit comments