Hi everybody,
I am working on project right now: trying to link OrientDB and DreamFactory to an AngularJs app ( no Node.Js )
And I am facing some problems with the services call.
And since I am a new user of swagger, thought maybe you would help me guys.
As attachement the spec I wrote, and bellow the JavaScript code I wrote to call the api:
window.swagger = new SwaggerClient({
url: "/dsp/rest/api_docs/refmidAPI?app_name=REFPSO",
success: function() {
// upon connect, fetch a pet and set contents to element "mydata"
swagger.apis.getAllClients( function(data) {
console.log('success');
});
}
});
Thank you.