Skip to content

Add OTP schemas and centralized settings#34

Open
saurabhhhcodes wants to merge 1 commit into
OpenTekHub:mainfrom
saurabhhhcodes:codex/otp-api-schema-settings-19
Open

Add OTP schemas and centralized settings#34
saurabhhhcodes wants to merge 1 commit into
OpenTekHub:mainfrom
saurabhhhcodes:codex/otp-api-schema-settings-19

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Closes #19\n\nSummary:\n- Centralize Twilio, JWT, and database settings with a Pydantic BaseSettings model\n- Switch OTP endpoints to JSON request bodies with typed request/response schemas\n- Add response models for send, verify, and register flows\n- Update docs and add route tests for the new contract\n\nValidation:\n- python3 -m unittest discover -s tests

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.

Add Pydantic Schemas for OTP Endpoints and Centralized BaseSettings Configuration

1 participant