Skip to content

feat: update test suite and split api structure#2

Merged
nallenscott merged 3 commits into
mainfrom
refactor/split-api-from-main
Feb 16, 2026
Merged

feat: update test suite and split api structure#2
nallenscott merged 3 commits into
mainfrom
refactor/split-api-from-main

Conversation

@nallenscott

@nallenscott nallenscott commented Feb 15, 2026

Copy link
Copy Markdown
Member
  • Add test_models.py for validation rules
  • Add test_database.py for schema and constraints
  • Add test_service.py for business logic
  • Extract endpoints to api.py using APIRouter
  • Simplify main.py to app configuration only
  • Upgrade FastAPI from 0.104.0 to 0.129.0
  • Upgrade Python requirement from ^3.8 to ^3.10
  • Move API doc endpoints to /api/v1 prefix

- Add test_models.py for validation rules
- Add test_database.py for schema and constraints
- Add test_service.py for business logic
- Extract endpoints to api.py using APIRouter
- Simplify main.py to app configuration only
@nallenscott nallenscott changed the title feat: add test suite and split api structure feat: update test suite and split api structure Feb 15, 2026
- Update Python requirement from ^3.8 to ^3.10
- FastAPI 0.129.0 requires Python 3.10+
- Fixes ReDoc CDN issue (fixed in FastAPI 0.115.13)
- Move docs_url from /docs to /api/v1/docs
- Move redoc_url from /redoc to /api/v1/redoc
- Add openapi_url at /api/v1/openapi.json
- Prevents conflict with Hugo documentation site at /docs
@nallenscott nallenscott merged commit 16082e3 into main Feb 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant