tasking-manager icon indicating copy to clipboard operation
tasking-manager copied to clipboard

Problems with swagger on local

Open dgquail opened this issue 10 months ago • 4 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/

dgquail avatar Apr 22 '24 12:04 dgquail

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?

emi420 avatar Apr 22 '24 14:04 emi420

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

dgquail avatar Apr 22 '24 20:04 dgquail

@kaditya97 - could this be related to docker setup?

ramyaragupathy avatar May 01 '24 02:05 ramyaragupathy

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/

kaditya97 avatar May 07 '24 10:05 kaditya97