Skip to content

Commit e708559

Browse files
Merge pull request #134 from SocketDev/cg/updateOpenAPIDef
Update the OpenAPI definition manually to add the issues labels
2 parents e845965 + 71fd38d commit e708559

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

openapi.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4486,12 +4486,16 @@
44864486
},
44874487
"locations": {
44884488
"$ref": "#/components/schemas/SocketRefList"
4489+
},
4490+
"label": {
4491+
"type": "string"
44894492
}
44904493
},
44914494
"required": [
44924495
"category",
44934496
"locations",
4494-
"severity"
4497+
"severity",
4498+
"label"
44954499
]
44964500
},
44974501
"SocketUsageRef": {
@@ -5902,4 +5906,4 @@
59025906
}
59035907
}
59045908
}
5905-
}
5909+
}

types/api.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@ export interface components {
12321232
severity: components["schemas"]["SocketIssueSeverity"];
12331233
category: components["schemas"]["SocketCategory"];
12341234
locations: components["schemas"]["SocketRefList"];
1235+
label: string;
12351236
};
12361237
SocketUsageRef: {
12371238
file: components["schemas"]["SocketRefFile"];

0 commit comments

Comments
 (0)