View | Details | Raw Unified | Return to bug 28020
Collapse All | Expand All

(-)a/Koha/REST/Plugin/Exceptions.pm (-3 / +3 lines)
Lines 76-86 sub register { Link Here
76
                status  => 500,
76
                status  => 500,
77
                openapi => {
77
                openapi => {
78
                    error =>
78
                    error =>
79
                      "Something went wrong, check Koha logs for details."
79
                      "Something went wrong, check Koha logs for details.",
80
                    error_code => 'internal_server_error',
80
                }
81
                }
81
            );
82
            );
82
          }
83
        }
83
84
    );
84
    );
85
}
85
}
86
86
(-)a/api/v1/swagger/definitions/error.yaml (-1 / +3 lines)
Lines 4-7 properties: Link Here
4
  error:
4
  error:
5
    description: Error message
5
    description: Error message
6
    type: string
6
    type: string
7
  error_code:
8
    description: Error code
9
    type: string
7
additionalProperties: true
10
additionalProperties: true
8
- 

Return to bug 28020