backend icon indicating copy to clipboard operation
backend copied to clipboard

Remove the dead SWAGGER_USERNAME and SWAGGER_PASSWORD entries from .env.common

Open AlexSergey opened this issue 4 weeks ago • 0 comments

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_USERNAME and SWAGGER_PASSWORD returns nothing.
  • The app starts and the Swagger UI still works.

Pointers

Configuration management.

AlexSergey avatar Nov 04 '26 16:11 AlexSergey