Skip to content

Custom error message for missing field #903

@Tomtouta

Description

@Tomtouta

Hello,

I discover recently the way to customize error message using this feature : #440

Nevertheless, I don't find a way to define error message in case of missing field in a json message
For example, if a json schema expect to have an id but the json sent by a user does not contain this id, I want to have a specific error message saying something like "JSON schema not respected, missing id field".
How can this be done ?

Regards,

Tom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions