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 1
1
# API Evolution pattern
2
2
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,
4
4
planning and removing outdated features.
5
5
6
6
## How it works
@@ -34,7 +34,7 @@ class HomeHandler implements RequestHandlerInterface
34
34
...
35
35
```
36
36
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)
38
38
endpoint as deprecated starting from ` 2038-01-01 ` .
39
39
40
40
Running 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