Merge "Report v2.0 as deprecated in version discovery"

This commit is contained in:
Jenkins 2016-08-05 04:23:48 +00:00 committed by Gerrit Code Review
commit bf63a23cd2
2 changed files with 4 additions and 4 deletions

View File

@ -49,8 +49,8 @@ v2_HTML_DESCRIPTION = {
v2_EXPECTED_RESPONSE = { v2_EXPECTED_RESPONSE = {
"id": "v2.0", "id": "v2.0",
"status": "stable", "status": "deprecated",
"updated": "2014-04-17T00:00:00Z", "updated": "2016-08-04T00:00:00Z",
"links": [ "links": [
{ {
"rel": "self", "rel": "self",

View File

@ -119,8 +119,8 @@ class Version(wsgi.Application):
if 'v2.0' in _VERSIONS: if 'v2.0' in _VERSIONS:
versions['v2.0'] = { versions['v2.0'] = {
'id': 'v2.0', 'id': 'v2.0',
'status': 'stable', 'status': 'deprecated',
'updated': '2014-04-17T00:00:00Z', 'updated': '2016-08-04T00:00:00Z',
'links': [ 'links': [
{ {
'rel': 'self', 'rel': 'self',