Skip to content

Commit cdeca37

Browse files
committed
Document public patch reverification fields
1 parent f9f477d commit cdeca37

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎openapi.public.json‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3362,6 +3362,7 @@
33623362
"description": "Each deterministic check the finding cited and its result on the\n patched head. Empty until an outcome is recorded."
33633363
},
33643364
"finding_id": {
3365+
"description": "The finding being re-verified against this patch.",
33653366
"format": "uuid",
33663367
"type": "string"
33673368
},
@@ -3371,7 +3372,12 @@
33713372
"type": "integer"
33723373
},
33733374
"outcome": {
3374-
"$ref": "#/components/schemas/LocalReverificationOutcome"
3375+
"allOf": [
3376+
{
3377+
"$ref": "#/components/schemas/LocalReverificationOutcome"
3378+
}
3379+
],
3380+
"description": "The local re-verification result; it does not change the original finding."
33753381
}
33763382
},
33773383
"required": [
@@ -3843,6 +3849,7 @@
38433849
"description": "One finding a patch review re-verifies against the patch.",
38443850
"properties": {
38453851
"finding_id": {
3852+
"description": "The finding being re-verified against this patch.",
38463853
"format": "uuid",
38473854
"type": "string"
38483855
},

‎proofline/_generated/models/local_reverification.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class LocalReverification:
2020
Attributes:
2121
checks (Any): Each deterministic check the finding cited and its result on the
2222
patched head. Empty until an outcome is recorded.
23-
finding_id (UUID):
23+
finding_id (UUID): The finding being re-verified against this patch.
2424
iteration (int): The request's number among the requests to re-verify the finding's
2525
series on this patch, at most 3.
2626
outcome (LocalReverificationOutcome): `RESOLVED_VERIFIED` needs the re-investigation to reject the finding's

‎proofline/_generated/models/patch_verification.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class PatchVerification:
1515
"""One finding a patch review re-verifies against the patch.
1616
1717
Attributes:
18-
finding_id (UUID):
18+
finding_id (UUID): The finding being re-verified against this patch.
1919
iteration (int): This request's number among the requests to re-verify the finding's
2020
series on this patch, at most 3.
2121
"""

0 commit comments

Comments
 (0)