Skip to content

feat(api): add routes-f validation metadata endpoint#363

Merged
davedumto merged 2 commits intoStreamFi-x:devfrom
OpenSourceCOntr:feature/issue-325-validation-metadata
Feb 26, 2026
Merged

feat(api): add routes-f validation metadata endpoint#363
davedumto merged 2 commits intoStreamFi-x:devfrom
OpenSourceCOntr:feature/issue-325-validation-metadata

Conversation

@Uchechukwu-Ekezie
Copy link
Contributor

Overview

This PR adds a new endpoint GET /api/routes-f/validation-rules to return machine-readable field-level validation metadata for Routes-F items.

Key Changes

  • Implemented validation-rules API route.
  • Returns type, required status, and constraints (minLength, maxLength, enum, etc.) for all fields.
  • Added integration test suite verifying schema shape and constraints.

Closes #325

- Implemented recursive deep-diff utility
- Added POST /api/routes-f/conflicts endpoint
- Supports nested objects and stable field ordering
- Added integration tests

Closes StreamFi-x#337
- Implemented GET /api/routes-f/validation-rules
- Returns machine-readable validation constraints
- Added integration tests

Closes StreamFi-x#325
@vercel
Copy link

vercel bot commented Feb 26, 2026

@Uchechukwu-Ekezie is attempting to deploy a commit to the david's projects Team on Vercel.

A member of the Team first needs to authorize it.

@davedumto davedumto merged commit 9d9b0bb into StreamFi-x:dev Feb 26, 2026
4 of 5 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.

Backend: Add routes-f validation metadata endpoint

2 participants