New API documentation correction - Model schema is not shown for the API

Document ID : KB000094334
Last Modified Date : 03/05/2018
Show Technical Document Details
Issue:
New API documentation correction - The customer is using Invoke API V2 and seeing the below information for GET /vses. Model schema is not shown for the API listed at http://localhost:1505/lisa-virtualize-invoke/api/v2/swagger-ui#/ . Implementation Notes: Returns an array of VSE Server JSON objects Response Class (Status 200) successful operation ModelModel Schema {} Customer is looking for the correct documentation information for all the API's. There might be more api's and requested to verify the complete API documentation if possible. 
Environment:
DevTest 10.1.0
Resolution:
Provided lisa-virtualize-invoke.war.

. Go to http://localhost:1505/lisa-virtualize-invoke/api/v2/swagger-ui (hostname should be the Registry machine name) before applying the patch. 

. Verify the Model Schema information for the GET /vses and GET /vses/{VseId} and it will show like {} (This the issue. 

. Take a backup of Devtest_home/webserver/webapps/lisa-virtualize-invoke folder on the Registry server. 

. Remove the contents of Devtest_home/webserver/webapps/lisa-virtualize-invoke folder on the Registry server. 

. Now extract the contents of the lisa-virtualize-invoke.war to Devtest_home/webserver/webapps/lisa-virtualize-invoke folder on the Registry server and restart DevTest components. 

. Verify the Model Schema information for the GET /vses and GET /vses/{VseId} at the URL http://localhost:1505/lisa-virtualize-invoke/api/v2/swagger-ui. 

It will show the information properly. 

 
Additional Information:
Refer to Defect DE306033