f38cecfdfc
API v1.0 has been deprecated for a while and v1.1 will be deprecated soon. We shouldn't be enabling deprecated API versions by default. This patch adds a decorator to disable deprecated APIs by default unless they have been explicitly enabled in the environment. Co-Authored-By: Fei Long Wang <flwang@catalyst.net.nz> Change-Id: I62fb4d18bc6c9f5455bff0d56e42269b4590b454
8 lines
398 B
YAML
8 lines
398 B
YAML
---
|
|
features:
|
|
- Currently, the v1 API is still accessible though it has been deprecated
|
|
for a while. And we're going to deprecate v1.1 soon. To keep the backward
|
|
compatibility, a new config option - ``enable_deprecated_api_versions``
|
|
is added so that operator can totally turn off an API version or still
|
|
support it by adding the API version to the list of the new config option.
|