In Chlorine the RESTCONF draft implementation was removed, so the URI
for API document has been updated, too (NETCONF-902).
Update the test case for API doc to use the new URI if the controller
version is Chlorine or later.
Change-Id: I43d4d2afa2d79ed586c2ff1e61a05fa6afc58e45
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
*** Test Cases ***
Get Apidoc Apis
[Documentation] Get the Apidoc Apis list, check 200 status and apis string presence.
- ${path} = CompareStream.Set_Variable_If_At_Least_Aluminium openapi apis
+ ${path} = CompareStream.Set_Variable_If_At_Least_Aluminium openapi_18 apis
+ ${path} = CompareStream.Set_Variable_If_At_Least_Chlorine openapi ${path}
${resp} = TemplatedRequests.Get_As_Json_Templated folder=${VAR_DIR}/${path} http_timeout=90
BuiltIn.Should_Contain ${resp} api
-/apidoc/openapi3/18/apis/single
+/apidoc/openapi3/apis/single
--- /dev/null
+/apidoc/openapi3/18/apis/single