Refactor library generation in order to produce JSON with restful-api methods descriptions instead of JS file.
return axios.post(window.API_HOST + 'contacts/getContact', {
entityUUID: entityUUIDArg,
entityType: entityTypeArg,
from: fromArg,
to: toArg,
searchtype: searchtypeArg
}, merge({}, this.config, config));
Should be converted to JSON entry:
{
path: "contacts/getContact",
args: ["entityUUID", "entityType", "from", "to", "searchType"]
}