Skip to content

Commit 7bea496

Browse files
fix(openapi): sync with openapi definition (#348)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7d4fb36 commit 7bea496

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@
19431943
"description": ""
19441944
},
19451945
"properties": {},
1946-
"description": "Mapping of alert keys to arrays of reachability types found across different manifest files or code locations. Each type indicates whether the vulnerable code is actually used: \"reachable\" (definitely used), \"maybe_reachable\" (potentially used), \"unreachable\" (not used), \"unknown\" (cannot determine), etc. Multiple types per alert can occur when the same vulnerability appears in different contexts."
1946+
"description": "Deprecated: mapping of alert keys to arrays of reachability types found across different manifest files or code locations. This field is derived from alertKeysToReachabilitySummaries for backward compatibility; use that property instead."
19471947
},
19481948
"alertKeysToReachabilitySummaries": {
19491949
"type": "object",

types/api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@ export interface components {
20952095
artifact?: components['schemas']['SocketPURL'] & {
20962096
id: components['schemas']['SocketId']
20972097
}
2098-
/** @description Mapping of alert keys to arrays of reachability types found across different manifest files or code locations. Each type indicates whether the vulnerable code is actually used: "reachable" (definitely used), "maybe_reachable" (potentially used), "unreachable" (not used), "unknown" (cannot determine), etc. Multiple types per alert can occur when the same vulnerability appears in different contexts. */
2098+
/** @description Deprecated: mapping of alert keys to arrays of reachability types found across different manifest files or code locations. This field is derived from alertKeysToReachabilitySummaries for backward compatibility; use that property instead. */
20992099
alertKeysToReachabilityTypes?: {
21002100
[key: string]: string[]
21012101
}

0 commit comments

Comments
 (0)