Skip to content

Commit 54e937b

Browse files
change openapi description for create dataset examples
1 parent 57d66de commit 54e937b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

dataset/src/main/openapi/dataset.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,19 @@ paths:
340340
application/json:
341341
schema:
342342
$ref: '#/components/schemas/SubDatasetGraphQuery'
343+
examples:
344+
BreweryADT:
345+
$ref: '#/components/examples/BreweryADT'
343346
responses:
344347
'200':
345348
description: Successful response
346349
content:
347350
application/json:
348351
schema:
349352
$ref: '#/components/schemas/Dataset'
353+
examples:
354+
BreweryADT:
355+
$ref: '#/components/examples/BreweryADT'
350356
/organizations/{organization_id}/datasets/{dataset_id}/refresh:
351357
parameters:
352358
- name: organization_id
@@ -1690,7 +1696,7 @@ components:
16901696
- location: "containerName"
16911697
- path: "path"
16921698
status: "null"
1693-
queries: "null"
1699+
queries: ["MATCH (n) RETURN n"]
16941700
tags:
16951701
- ADT
16961702
- Brewery
@@ -1739,7 +1745,7 @@ components:
17391745
- location: "containerName"
17401746
- path: "path"
17411747
status: "null"
1742-
queries: "null"
1748+
queries: ["MATCH (n) RETURN n"]
17431749
tags:
17441750
- ADT
17451751
- Brewery
@@ -1784,7 +1790,7 @@ components:
17841790
- location: "containerName"
17851791
- path: "path"
17861792
status: "null"
1787-
queries: "null"
1793+
queries: ["MATCH (n) RETURN n"]
17881794
tags:
17891795
- ADT
17901796
- Brewery
@@ -1838,7 +1844,7 @@ components:
18381844
- location: "containerName"
18391845
- path: "path"
18401846
status: "null"
1841-
queries: "null"
1847+
queries: ["MATCH (n) RETURN n"]
18421848
tags:
18431849
- ADT
18441850
- Brewery

0 commit comments

Comments
 (0)