
- Created a new endpoint at /api/v1/env/content that returns the CONTENT environment variable - Added error handling for when the environment variable is not set - Updated documentation with new endpoint information and usage examples - Added environment variables as a new feature in README
9 lines
300 B
Python
9 lines
300 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import env_vars, health, todos
|
|
|
|
api_router = APIRouter()
|
|
|
|
api_router.include_router(health.router, tags=["health"])
|
|
api_router.include_router(todos.router, prefix="/todos", tags=["todos"])
|
|
api_router.include_router(env_vars.router, tags=["environment"]) |