
- Created FastAPI application structure - Added Todo model and CRUD operations - Added database integration with SQLAlchemy - Added migrations with Alembic - Added health endpoint - Added API documentation with Swagger UI and ReDoc
9 lines
211 B
Python
9 lines
211 B
Python
from pydantic import BaseModel
|
|
from typing import Dict, Any
|
|
|
|
|
|
class HealthResponse(BaseModel):
|
|
"""Response schema for the health check endpoint"""
|
|
status: str
|
|
version: str
|
|
details: Dict[str, Any] |