api: PCI mappings: complete return schema

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-19 06:58:33 +02:00
parent 7becf34fdd
commit d4830b941f

View File

@ -61,12 +61,15 @@ __PACKAGE__->register_method ({
description => "A description of the logical mapping.",
},
error => {
type => "array",
optional => 1,
description => "A list of errors when 'check_node' is given.",
items => {
type => 'object',
properties => {
severity => {
type => "string",
enum => ['warning', 'error'],
description => "The severity of the error",
},
message => {