Skip to content

Feat/fastapi pydantic schemas#187

Merged
dev-fatima-24 merged 5 commits into
dev-fatima-24:mainfrom
Sundriveauto:feat/fastapi-pydantic-schemas
Apr 27, 2026
Merged

Feat/fastapi pydantic schemas#187
dev-fatima-24 merged 5 commits into
dev-fatima-24:mainfrom
Sundriveauto:feat/fastapi-pydantic-schemas

Conversation

@Sundriveauto
Copy link
Copy Markdown
Contributor

Closes #78

Description
The Python FastAPI service has no documented request/response schemas. Consumers of the analytics API have no contract to code against.

Acceptance Criteria
FastAPI auto-generated docs available at /docs (Swagger UI) and /redoc
All endpoints have Pydantic response models with field descriptions
Batch verify endpoint documents input format, size limits, and error responses
Authentication requirements documented per endpoint

- Integrate i18next + react-i18next
- Add EN/FR translation files (src/locales/)
- Externalize all user-facing strings via t() calls
- Add LanguageSelector component in nav header
- Persist selected language to localStorage
feat: add react-i18next with English and French support
- Add schemas.py with typed models for all endpoints
- Document auth requirements (Bearer JWT) on analytics routes
- Document batch/verify input limits (max 100), error responses
- /docs (Swagger UI) and /redoc available out of the box
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 27, 2026

@Sundriveauto Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@dev-fatima-24 dev-fatima-24 merged commit 2cd0c0e into dev-fatima-24:main Apr 27, 2026
0 of 4 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.

Write analytics service API documentation

2 participants