diff --git a/src/stats.c b/src/stats.c index 38cac0cb9..c306bfcef 100644 --- a/src/stats.c +++ b/src/stats.c @@ -3579,9 +3579,9 @@ static void stats_dump_json_schema(struct buffer *out) "\"title\":\"Info\"," "\"type\":\"array\"," "\"items\":{" + "\"title\":\"InfoItem\"," + "\"type\":\"object\"," "\"properties\":{" - "\"title\":\"InfoItem\"," - "\"type\":\"object\"," "\"field\":{\"$ref\":\"#/definitions/field\"}," "\"processNum\":{\"$ref\":\"#/definitions/processNum\"}," "\"tags\":{\"$ref\":\"#/definitions/tags\"}," @@ -3626,9 +3626,9 @@ static void stats_dump_json_schema(struct buffer *out) "\"properties\":{" "\"errorStr\":{" "\"type\":\"string\"" - "}," - "\"required\":[\"errorStr\"]" - "}" + "}" + "}," + "\"required\":[\"errorStr\"]" "}" "]," "\"definitions\":{"