Re: How to handle the event triggered when the swagger docum is fully loaded - status set to 'success' ?

2018-02-23 Thread Eric Rajkovic
Found this code, but it's returning "success" twice - was expecting to get "loading" on the first call, so I am still missing something ... self.swaggerUi.specSelectors.loadingStatus() On Friday, February 23, 2018 at 4:45:43 PM UTC-8, Eric Rajkovic wrote: > > I am having trouble finding the

How to handle the event triggered when the swagger docum is fully loaded - status set to 'success' ?

2018-02-23 Thread Eric Rajkovic
I am having trouble finding the right syntax / sample to only trigger the async callback I have registered once the swagger document has finish loading in the browser. Right now, the code is being called twice, once when the swagger is starting loading and once when the it has completed. here