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

Can't reach localhost:3000/api-docs #12

Closed
matteoPhre opened this issue Jul 2, 2018 · 2 comments
Closed

Can't reach localhost:3000/api-docs #12

matteoPhre opened this issue Jul 2, 2018 · 2 comments

Comments

@matteoPhre
Copy link

matteoPhre commented Jul 2, 2018

Hi guys! I've got a problem: I can't reach localhost:3000/api-docs: it gives me "ERR_TOO_MANY_REDIRECTS".

This is how I init module from "ExpressServer.js", the file that starts my express server (app) and swaggerDocument is json file that wraps all specs.
expressOasGenerator.init(app, swaggerDocument);

Any hint of why this is happening?

Thank in advance.

@mpashkovskiy
Copy link
Owner

Hi Matteo, how do you initialize application routes? Could you give me an example so I can reproduce the issue?

@mpashkovskiy
Copy link
Owner

Looks like it is not an issue anymore. So closing it.

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

2 participants