Skip to content

Commit 72ce81b

Browse files
committed
Document meaning of value -1 for parentId of TreeDataModel
Fixes #65 Corresponding swagger model update: eclipse-tracecompass-incubator/org.eclipse.tracecompass.incubator#191 Signed-off-by: Bernd Hufmann <[email protected]>
1 parent 9d29d4b commit 72ce81b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

API-proposed.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,14 +2803,14 @@ components:
28032803
description: Whether or not this entry has data
28042804
parentId:
28052805
type: integer
2806-
description: "Unique id to identify this parent's entry, optional if this\
2807-
\ entry does not have a parent."
2806+
description: "Optional unique ID to identify this entry's parent. If the\
2807+
\ parent ID is -1 or omitted, this entry has no parent."
28082808
format: int64
28092809
style:
28102810
$ref: '#/components/schemas/OutputElementStyle'
28112811
id:
28122812
type: integer
2813-
description: Unique id to identify this entry in the backend
2813+
description: Unique ID to identify this entry in the backend
28142814
format: int64
28152815
labels:
28162816
type: array

API.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2282,14 +2282,14 @@ components:
22822282
description: Whether or not this entry has data
22832283
parentId:
22842284
type: integer
2285-
description: "Unique id to identify this parent's entry, optional if this\
2286-
\ entry does not have a parent."
2285+
description: "Optional unique ID to identify this entry's parent. If the\
2286+
\ parent ID is -1 or omitted, this entry has no parent."
22872287
format: int64
22882288
style:
22892289
$ref: '#/components/schemas/OutputElementStyle'
22902290
id:
22912291
type: integer
2292-
description: Unique id to identify this entry in the backend
2292+
description: Unique ID to identify this entry in the backend
22932293
format: int64
22942294
labels:
22952295
type: array

0 commit comments

Comments
 (0)