hotosm / tasking-manager

Tasking Manager - The tool to team up for mapping in OpenStreetMap

Home Page:https://wiki.openstreetmap.org/wiki/Tasking_Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with swagger on local

dgquail opened this issue · comments

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/

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?

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

@kaditya97 - could this be related to docker setup?

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/