Skip to content

Commit d8dea08

Browse files
committed
adding entry for Warnings
1 parent bd40943 commit d8dea08

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

src/main/resources/wfc/schemas/report.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ properties:
5858
type: [array, "null"]
5959
items:
6060
$ref: "#/$defs/Coverage"
61+
warnings:
62+
description: "Optional list of general 'warnings' regarding the fuzzing process.
63+
These are general, and not specific to any generated test case.
64+
For example, problems in the schema would be reported here, as well as
65+
possible misconfigurations of the fuzzer."
66+
type: [array, "null"]
67+
items:
68+
$ref: "#/$defs/Warning"
6169

6270
required:
6371
- "schemaVersion"
@@ -232,4 +240,19 @@ $defs:
232240
description: "Optional number of all testing targets for this criterion. For some criteria, this number can be unknown."
233241
type: [integer, "null"]
234242
minimum: 0
235-
required: ["name","covered"]
243+
required: ["name","covered"]
244+
Warning:
245+
type: object
246+
properties:
247+
message:
248+
description: "The textual content of the warning message."
249+
type: string
250+
category:
251+
description: "Label to specify the type of warning, e.g., if related to the schema or
252+
fuzzer misconfiguration."
253+
type: string
254+
displayPriority:
255+
description: "Hint on the priority of this warning message, where lowest (eg, 1) values mean
256+
more important. This is ONLY meant to be used for display purposes, e.g., when
257+
sorting the list of warnings to show to user."
258+
type: integer

0 commit comments

Comments
 (0)