Hi,
I am quite new to Swagger and can't get my head around it yet.
What I am trying to do is to document our Ladbrokes API's using swagger. I am not trying to create stubs either client or server.
I created a spec.json for one of the Ladbrokes API call.
I have a local tomcat running where I have added the whole of Swagger UI and the spec.json into webapps/ROOT.
In Chrome console I can see this error,
Uncaught TypeError: Cannot read property 'length' of undefined
The error is thrown because "response.apis" is null. As the apis are defined under apiDeclarations.
To be precise the apis are defined under response.apiDeclarations[0].apis
But this should be an issue with everyone, so I think I am doing something wrong, can you please help.
I am attaching you my spec.json
Thanks,
Arun