feat: add swagger auth
dev / deploy (push) Successful in 3m8s

This commit is contained in:
Daniil
2026-04-30 01:00:04 +03:00
parent acdd6c8e36
commit 7f2ac4e358
3 changed files with 114 additions and 5 deletions
+2
View File
@@ -16,6 +16,8 @@ class Settings(BaseSettings):
# App
debug: bool = Field(default=True, alias="DEBUG")
swagger_auth_login: str = Field(default="", alias="SWAGGER_AUTH_LOGIN")
swagger_auth_password: str = Field(default="", alias="SWAGGER_AUTH_PASSWORD")
cors_allowed_origins: list[str] = Field(
default_factory=lambda: [
"http://localhost:3000",