Summary

  • Added an optional fieldErrors array to the Error response schema. Request-validation failures (400 responses) now include one entry per failed field, with a machine-readable code alongside the existing human-readable message.

Added

  • Properties
    • fieldErrors (array of FieldValidationError): added to Error. Only present on 400 responses caused by request binding or validation. Each entry names the field, a validator code (for example required, max, oneof), and a friendly message.
  • Schemas
    • FieldValidationError: new schema with required field, code, and message string properties. Represents a single failed validation constraint.