Fix API doc URL in GET / response

The existing URL has a redirect to another URL[0], which has a message
that it has been moved to yet another URL[1]. Fix it so it's just one link.
Also use https while we're in here.

[0] https://docs.openstack.org/developer/ironic/webapi/v1.html
[1] https://docs.openstack.org/developer/ironic/dev/webapi.html

Change-Id: I900e0a7ad84dfcfeb551d4836bf156790706803c
This commit is contained in:
Jim Rollenhagen 2017-03-15 16:15:03 -04:00
parent a2cea8f2dc
commit 73328060cc
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',