Fix version details API does not return 200 OK

When use version details api http://ip:8786/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: I1cde2a35dc84ccaac15d6963f453fd793c54fda4
Closes-Bug: #1742336
This commit is contained in:
lijunbo 2018-01-10 10:04:22 +08:00 committed by junbo.li
parent c6a05f2274
commit cfd4dd00d1
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,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 it's root. Nearly all this
information exists at the API root, so this is mostly a redundant
@ -105,7 +105,7 @@ Response
Response Example
----------------
This is an example of a ``GET /v2`` on a relatively current server.
This is an example of a ``GET /v2/`` on a relatively current server.
.. literalinclude:: samples/versions-get-version-response.json
:language: javascript