mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 05:57:21 -05:00
Fix backend dependencies and document new API tags
This commit is contained in:
@@ -18,6 +18,18 @@ from app.routers import (
|
||||
from app.services.crypto import rotate_plaintext_wallet_keys
|
||||
|
||||
|
||||
openapi_tags = [
|
||||
{"name": "railway", "description": "Railway deployment management"},
|
||||
{"name": "vercel", "description": "Vercel project automation"},
|
||||
{"name": "stripe", "description": "Stripe billing integrations"},
|
||||
{"name": "twilio", "description": "Twilio messaging"},
|
||||
{"name": "slack", "description": "Slack workspace automation"},
|
||||
{"name": "discord", "description": "Discord community integrations"},
|
||||
{"name": "sentry", "description": "Sentry monitoring hooks"},
|
||||
{"name": "health", "description": "BlackRoad OS service health"},
|
||||
]
|
||||
|
||||
|
||||
@asynccontextmanager
|
||||
async def lifespan(app: FastAPI):
|
||||
"""Application lifespan events"""
|
||||
@@ -55,7 +67,8 @@ app = FastAPI(
|
||||
lifespan=lifespan,
|
||||
docs_url="/api/docs",
|
||||
redoc_url="/api/redoc",
|
||||
openapi_url="/api/openapi.json"
|
||||
openapi_url="/api/openapi.json",
|
||||
openapi_tags=openapi_tags,
|
||||
)
|
||||
|
||||
# CORS middleware
|
||||
|
||||
Reference in New Issue
Block a user