improving documentation

This commit is contained in:
Max Metz 2024-09-10 17:47:44 +02:00
parent 6505ad758f
commit 7c5bc626d0

View File

@ -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 = {