5 Commits

Author SHA1 Message Date
Automated Action
ccf2bb983b Fix Pydantic Settings validation error for extra environment variables
- Added CONTENT field to Settings model with Optional type
- Set extra='ignore' in Config to allow extra environment variables
- Added the same config to custom BaseSettings implementation for consistency
- Added missing import for Optional type
2025-06-02 09:21:34 +00:00
Automated Action
6a19bf4aa7 Improve CONTENT environment variable handling
- Update endpoint to check for both None and empty string values
- Add more detailed error message for better user experience
- Update documentation to reflect the refined behavior
2025-06-01 08:25:31 +00:00
Automated Action
1df01b998d Add endpoint to read CONTENT environment variable
- 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
2025-05-31 21:31:18 +00:00
Automated Action
7cbef584c0 Fix pydantic_settings import error
Added fallback implementation for environments without pydantic_settings package
and added pydantic-settings to requirements.txt to prevent future issues.
2025-05-31 21:22:25 +00:00
Automated Action
e01f3a4d57 Create FastAPI Todo App
Create a simple Todo API with FastAPI and SQLite with CRUD functionality,
health check, error handling, and API documentation.
2025-05-31 21:13:37 +00:00