improving documentation
This commit is contained in:
parent
6505ad758f
commit
7c5bc626d0
@ -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 = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user