Re: example of angularjs code using swagger-codegen javascript-closure-angular API
Did you find any clue? I have the same problem here Le dimanche 16 octobre 2016 02:00:04 UTC+2, Andrew Lindzon a écrit : > > Sorry pretty much a newbie question. > > I have the APIs generated, but I have no clue how to call the functions > from my angularjs app. > > I don't know what to inject so I can call the generated functions. > > For example how would I use this function? > API.Client.BuildingsApi.prototype.buildingsGetBuilding = function(id, > opt_extraHttpRequestParams) { > > I need to inject it into this controller > .controller('buildingsCtrl', function ($scope, $state, $rootScope) { > > Thank you very much, I know this tool will be a life saver once I figure > this little thing out. > > > -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
example of angularjs code using swagger-codegen javascript-closure-angular API
Sorry pretty much a newbie question. I have the APIs generated, but I have no clue how to call the functions from my angularjs app. I don't know what to inject so I can call the generated functions. For example how would I use this function? API.Client.BuildingsApi.prototype.buildingsGetBuilding = function(id, opt_extraHttpRequestParams) { I need to inject it into this controller .controller('buildingsCtrl', function ($scope, $state, $rootScope) { Thank you very much, I know this tool will be a life saver once I figure this little thing out. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.