Merge "Fix API doc URL in GET / response"

This commit is contained in:
Jenkins 2017-03-16 11:34:36 +00:00 committed by Gerrit Code Review
commit 8d7b4319e9
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
"rel": "self"
},
{
"href": "http://docs.openstack.org/developer/ironic/dev/api-spec-v1.html",
"href": "https://docs.openstack.org/developer/ironic/dev/webapi.html",
"rel": "describedby",
"type": "text/html"
}

View File

@ -97,9 +97,9 @@ class V1(base.APIBase):
v1.links = [link.Link.make_link('self', pecan.request.public_url,
'v1', '', bookmark=True),
link.Link.make_link('describedby',
'http://docs.openstack.org',
'https://docs.openstack.org',
'developer/ironic/dev',
'api-spec-v1.html',
'webapi.html',
bookmark=True, type='text/html')
]
v1.media_types = [MediaType('application/json',