Skip to content

feat(validation): stricter request checks #617

Closed

Description

@uniqueg

Requests that FOCA should refuse with 400 but doesn't.

  • Unpaired surrogates in bodies: these can't be encoded for storage and lead to a 500. cloud-registry has its own check_strings.
  • JSON Schema format: formats such as date-time aren't checked.
  • Extra query parameters on parameterless operations: accepted despite strict_validation. If this is hard to do on Connexion 2, leave it to the move to Connexion 3 (build: add support for Connexion 3+ #188), add a test there and say so in this issue.

Field-level reporting is a separate topic (#586).

Acceptance criteria

  • Tests for each case, including nested strings; 100% coverage.
  • Docs and migration guide: format checks can make requests fail that passed before.

Activity

  1. added this to the v0.21.0 milestone on Nov 3, 2026
  2. added
    priority: medium
    status: triage
    type: feature
    workload: days
    status: in progress
    on Nov 3, 2026
  3. removed
    status: in progress
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: triagetype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions