Open
Description
I am using 1.56 and when I do a change password (/api/user/change-password) with the wrong data i get some error json that matches up with API Errors
{
"fieldErrors": {
"currentPassword": [
{
"code": "[invalid]currentPassword",
"message": "The [currentPassword] property is invalid. The value does not match the user's current password."
}
]
},
"generalErrors": [
]
}
But this does not match up with the yaml in this area
fieldErrors:
type: array
items:
"$ref": "#/components/schemas/Error"
I believe the correct yaml for that area would be
fieldErrors:
type: object
additionalProperties:
type: array
items:
"$ref": "#/components/schemas/Error"