diff --git a/src/server/BreCal/validators/validation_error.py b/src/server/BreCal/validators/validation_error.py index 4ee0c7e..823a924 100644 --- a/src/server/BreCal/validators/validation_error.py +++ b/src/server/BreCal/validators/validation_error.py @@ -10,10 +10,8 @@ def create_default_json_response_format(error_field:str, error_description:str): """ The default format of a JSON response for exceptions is: { - "message":str, - "errors":typing.Optional[ - list[dict[str,list[str]]] - ] + "error_field":str, + "error_description":str } """ json_response = {