How to find documentation of given API

118 阅读1分钟

Created by Jerry Wang on Dec 23, 2014

假设需要知道该read method的接口参数定义:

直接debug 进read方法,找到OModel 定义所在的js文件,拿到path /sap/ui/model/odata:

按照该路径到下述link中展开对应节点:

veui5infra.dhcp.wdf.sap.corp:8080/sapui5-sdk-…

得到具体的参数定义:
SPath: A string containing the path to the data which should be retrieved. The path is concatenated to the sServiceUrl which was specified in the model constructor.

null:
urlParameters: A map containing the parameters that will be passed as query strings
true: asynchronous
要获取更多Jerry的原创文章,请关注公众号"汪子熙":