Merge "Fix API doc URL in GET / response"
This commit is contained in:
commit
8d7b4319e9
@ -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"
|
||||
}
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user