Skip to content

Commit ef48b7e

Browse files
Leopold-Cramerjreynard-code
authored andcommitted
add ownerName property to dataset
1 parent cf27a66 commit ef48b7e

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

dataset/src/main/openapi/dataset.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,9 @@ paths:
301301
type: string
302302
format: binary
303303
responses:
304-
"200":
305-
description: Twingraph File Uploaded
304+
"201":
305+
description: Twingraph file upload started
306+
306307
delete:
307308
operationId: deleteDataset
308309
tags:
@@ -1334,6 +1335,10 @@ components:
13341335
type: string
13351336
readOnly: true
13361337
description: the User id which own this Dataset
1338+
ownerName:
1339+
type: string
1340+
readOnly: true
1341+
description: the name of the owner
13371342
organizationId:
13381343
x-field-extra-annotation: "@com.redis.om.spring.annotations.Indexed"
13391344
type: string
@@ -1684,6 +1689,7 @@ components:
16841689
name: Brewery ADT reference
16851690
description: Brewery reference model in ADT
16861691
ownerId: "ownerId"
1692+
ownerName: "Bob"
16871693
parentId: "null"
16881694
twingraphId: "null"
16891695
main: "null"
@@ -1733,6 +1739,7 @@ components:
17331739
name: Brewery ADT reference
17341740
description: Brewery reference model in ADT
17351741
ownerId: "ownerId"
1742+
ownerName: "Bob"
17361743
parentId: "null"
17371744
twingraphId: "null"
17381745
main: "null"
@@ -1778,6 +1785,7 @@ components:
17781785
name: Brewery ADT reference
17791786
description: Brewery reference model in ADT
17801787
ownerId: "ownerId"
1788+
ownerName: "Bob"
17811789
parentId: "null"
17821790
twingraphId: "null"
17831791
main: "null"
@@ -1832,6 +1840,7 @@ components:
18321840
name: Brewery ADT new reference
18331841
description: Brewery reference model in ADT
18341842
ownerId: "ownerId"
1843+
ownerName: "Bob"
18351844
parentId: "null"
18361845
twingraphId: "null"
18371846
main: "null"

doc/Models/Dataset.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**name** | **String** | the Dataset name | [optional] [default to null]
88
**description** | **String** | the Dataset description | [optional] [default to null]
99
**ownerId** | **String** | the User id which own this Dataset | [optional] [default to null]
10+
**ownerName** | **String** | the name of the owner | [optional] [default to null]
1011
**organizationId** | **String** | the Organization Id related to this Dataset | [optional] [default to null]
1112
**parentId** | **String** | the Dataset id which is the parent of this Dataset | [optional] [default to null]
1213
**twingraphId** | **String** | the twin graph id | [optional] [default to null]

openapi/plantuml/schemas.plantuml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ entity Dataset {
5353
name: String
5454
description: String
5555
ownerId: String
56+
ownerName: String
5657
organizationId: String
5758
parentId: String
5859
twingraphId: String

0 commit comments

Comments
 (0)