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

Problems with swagger on local #6349

Open
dgquail opened this issue Apr 22, 2024 · 4 comments
Open

Problems with swagger on local #6349

dgquail opened this issue Apr 22, 2024 · 4 comments

Comments

@dgquail
Copy link
Collaborator

dgquail commented Apr 22, 2024

We want to configure swagger on the backend in a local environment and we are not able to. Is there any recommendation for this that you can give us? Thank you

we are listening here:
http://127.0.0.1:3000/api/v2/system/docs/json/

@emi420
Copy link
Collaborator

emi420 commented Apr 22, 2024

Hi @dgquail , there's something about the token here:

https://github.com/hotosm/tasking-manager/blob/develop/docs/developers/development-setup.md#api-authentication

Can you provide more information about the issue?

@dgquail
Copy link
Collaborator Author

dgquail commented Apr 22, 2024

It seems that swagger is not running, or at least we do not see it when invoking that URL

@ramyaragupathy
Copy link
Member

@kaditya97 - could this be related to docker setup?

@kaditya97
Copy link
Member

Hi @dgquail can you provide more information regarding your local setup of docker-compose file.
If you are using current docker compose file there is swagger service which serves the docs at http://127.0.0.1:3000/docs/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

4 participants