Exposed docs endpoint, added default env

This commit is contained in:
2025-09-23 18:55:07 +01:00
parent 6f95816fb4
commit 5aacf17ef2
8 changed files with 69 additions and 143 deletions

View File

@@ -3,7 +3,9 @@ from fastapi import FastAPI
from app.api.v1 import auth, keys
from app.core.config import settings
app = FastAPI(title=settings.PROJECT_NAME)
app = FastAPI(
title=settings.PROJECT_NAME
)
app.include_router(auth.router, prefix=f"{settings.API_V1_STR}/auth", tags=["auth"])
app.include_router(keys.router, prefix=f"{settings.API_V1_STR}/keys", tags=["keys"])