From 7c5bc626d060cfd91c75efafdd9f9e3e815615ba Mon Sep 17 00:00:00 2001 From: Max Metz Date: Tue, 10 Sep 2024 17:47:44 +0200 Subject: [PATCH] improving documentation --- src/server/BreCal/validators/validation_error.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 = {