Fix version details API does not return 200 OK

When use version details api http://ip/compute/v2 to get api details,
it does not return 200 OK, and the return value is empty.

This change is to correct the version details API URL.

Change-Id: I6befb4df6b688ae8c59671781c4e7b338a16462c
Closes-Bug: #1802247
This commit is contained in:
liuyamin 2018-11-08 16:00:12 +08:00
parent 6e8a69daf1
commit 8ad11697f9

View File

@ -66,7 +66,7 @@ v2.1 API is lower than listed below.
Show Details of Specific API Version
====================================
.. rest_method:: GET /{api_version}
.. rest_method:: GET /{api_version}/
This gets the details of a specific API at its root. Nearly all this
information exists at the API root, so this is mostly a redundant
@ -102,7 +102,7 @@ Response
Response Example
----------------
This is an example of a ``GET /v2.1`` on a relatively current server.
This is an example of a ``GET /v2.1/`` on a relatively current server.
.. literalinclude:: /../../doc/api_samples/versions/v21-version-get-resp.json
:language: javascript