|
|
189626d61c
|
Reduced log-verbosity on the server
|
2025-02-27 13:48:13 +01:00 |
|
|
|
b5b78a9c7e
|
Fixed tidal window validation and description output
|
2024-10-19 19:59:17 +02:00 |
|
|
|
5ce866936d
|
unified return structure to use error_field instead of message key to correspond to API specification
|
2024-09-16 14:17:30 +02:00 |
|
Max Metz
|
7c5bc626d0
|
improving documentation
|
2024-09-10 17:47:44 +02:00 |
|
Max Metz
|
5b68ef95cb
|
adapting exception handling and error responses for 400 responses. Using a simplified format, which only uses the keys 'error_field' and 'error_description'
|
2024-09-10 17:37:08 +02:00 |
|
Max Metz
|
7a97cd7d95
|
format of exceptions now always follows baseline format. 'errors'-key is always a list of dictionaries.
|
2024-09-10 13:50:13 +02:00 |
|
Max Metz
|
d2cd233f13
|
creating default handlers for every kind of Exception in the /api/ routes. Those default functions also create automatic logging with the .warning level. Relocated the .impl-calls into the Try-Exception-blocks, so they are properly logged and avoid system failures.
|
2024-09-09 12:46:55 +02:00 |
|
Max Metz
|
85973ad848
|
creating a default error response format for each API route
|
2024-09-09 12:21:32 +02:00 |
|
Max Metz
|
61b00b8b22
|
auto-converting non-lists to list values.
|
2024-09-09 11:55:58 +02:00 |
|
Max Metz
|
ab7b1ed34f
|
every ValidationError is defined to return a dictionary. In case of validation errors without such a call, a function enforces a default with an undefined key to ensure the correct format.
|
2024-09-05 12:46:04 +02:00 |
|
Max Metz
|
bc73bb3c08
|
fixed serialization of marshmallow.ValidationErrors. This was caused by the 'valid_data' containing datetime objects, which were not serializable natively.
|
2024-09-04 12:11:05 +02:00 |
|
Max Metz
|
4b5ff90b34
|
properly serializing ValidationError exceptions.
|
2024-09-04 08:30:46 +02:00 |
|