Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API page stuck at fetching resource list http://localhost/api/swagger.json #104

Open
gauravraj-fk opened this issue Jan 14, 2019 · 0 comments

Comments

@gauravraj-fk
Copy link

When I try to open the swagger page, it is stuck saying the message -
fetching resource list: http://localhost:10001/api/swagger.json`

When I inspect the console error, its showing -
Uncaught TypeError: Cannot read property 'tags' of null at SwaggerClient.buildFromSpec (swagger-client.js:454) at Object.response (swagger-client.js:371) at process.EventEmitter.response (swagger-client.js:2953) at process.EventEmitter.EventEmitter.emit (shred.bundle.js:1391) at emit (shred.bundle.js:1191) at shred.bundle.js:1211 at setBodyAndFinish (shred.bundle.js:1815) at module.exports.<anonymous> (shred.bundle.js:1832) at module.exports.EventEmitter.emit (shred.bundle.js:1388) at module.exports.Response.handle (shred.bundle.js:2715)
swagger-client.js:454 shows -
var tags = operation.tags;

Its trying to print the APIs which are not defined the resource.

I'm using dropwizard-swagger 0.7.0, swagger 1.5.1 and dropwizard 0.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant