backend
backend copied to clipboard
Remove the dead SWAGGER_USERNAME and SWAGGER_PASSWORD entries from .env.common
What is wrong
.env.common (lines 14-15) defines SWAGGER_USERNAME and SWAGGER_PASSWORD. Nothing reads them: src/config/swagger.config.ts only knows SWAGGER_ENABLED and SWAGGER_ENDPOINT, and neither name appears in src, the docs or the workflows.
Why it matters
The variables suggest the Swagger UI is protected by basic auth, which it is not. Dead settings with admin/admin values are misleading and look like a security control.
Definition of done
- Both entries are removed from
.env.common. - A repository-wide search for
SWAGGER_USERNAMEandSWAGGER_PASSWORDreturns nothing. - The app starts and the Swagger UI still works.