diff --git a/.schema/api.swagger.json b/.schema/api.swagger.json index 659ce41f59a3..864355fe43da 100755 --- a/.schema/api.swagger.json +++ b/.schema/api.swagger.json @@ -1282,9 +1282,7 @@ }, "details": { "type": "object", - "additionalProperties": { - "type": "object" - } + "additionalProperties": true }, "message": { "type": "string" diff --git a/.schema/config.schema.json b/.schema/config.schema.json index edbe046988b4..9773fb444e5c 100644 --- a/.schema/config.schema.json +++ b/.schema/config.schema.json @@ -653,8 +653,8 @@ "format": "uri" }, "examples": [ - "https://app.my-app.com/dashboard", - "https://www.my-app.com/" + ["https://app.my-app.com/dashboard", + "https://www.my-app.com/"] ], "uniqueItems": true } diff --git a/internal/httpclient/models/generic_error_payload.go b/internal/httpclient/models/generic_error_payload.go index 5fe7451bff05..19ddaa5d0a57 100644 --- a/internal/httpclient/models/generic_error_payload.go +++ b/internal/httpclient/models/generic_error_payload.go @@ -22,7 +22,7 @@ type GenericErrorPayload struct { Debug string `json:"debug,omitempty"` // details - Details map[string]interface{} `json:"details,omitempty"` + Details interface{} `json:"details,omitempty"` // message Message string `json:"message,omitempty"`