Skip to content

feat: add shared Zod request validation - #68

Merged
prodbycorne merged 2 commits into
SmartDropLabs:mainfrom
dixonfrederick:codex/zod-request-validation-12
Jul 26, 2026
Merged

feat: add shared Zod request validation#68
prodbycorne merged 2 commits into
SmartDropLabs:mainfrom
dixonfrederick:codex/zod-request-validation-12

Conversation

@dixonfrederick

Copy link
Copy Markdown
Contributor

Closes #12

Summary

  • add shared Zod schemas and validation middleware for request bodies, params, and query strings
  • apply validation to prices, API keys, alerts, webhooks, and airdrops routes
  • return 400 VALIDATION_ERROR responses with flattened field-level details for invalid input

Validation

  • npm test -- --runInBand

@prodbycorne
prodbycorne merged commit 5d4639a into SmartDropLabs:main Jul 26, 2026
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.

2 participants