From e00e3208caefbba05cd19151a524b09cc0d41bce Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 11 Nov 2022 14:19:36 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 069ea1d..aced60c 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ The swagger doc files can be found in `./api/`. You can generate the configuration of swagger-ui by running `go run github.com/swaggo/swag/cmd/swag init -d ./internal/api,./pkg/schema -g rest.go -o ./api `. You need to move the generated `./api/doc.go` to `./internal/api/doc.go`. If you start cc-backend with flag `--dev` the Swagger UI is available at http://localhost:8080/swagger/ . - +You have to enter a JWT key for a user with role API. This user must not be logged in the same browser (have a running session), otherwise Swagger requests will not work. ## Project Structure