Automated Action 8e26cae20e Initial Todo app backend implementation with FastAPI and SQLite
- 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
2025-05-16 00:35:49 +00:00

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]