Summary
Validation errors across different endpoints are shaped inconsistently, with some including field-level detail and others returning a generic message. A small helper that builds a consistent validation error response with field names and messages standardizes the shape.
Scope
- add a helper that accepts a list of field validation errors and returns a structured error response
- apply the helper to at least two existing validation error paths
- ensure the shape matches the documented API error envelope
Acceptance Criteria
- validation error responses built with the helper share a consistent shape
- field-level errors include the field name and a descriptive message
- the helper is applied to at least two existing endpoints
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg
Summary
Validation errors across different endpoints are shaped inconsistently, with some including field-level detail and others returning a generic message. A small helper that builds a consistent validation error response with field names and messages standardizes the shape.
Scope
Acceptance Criteria
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg