Skip to content

Commit

Permalink
Merge pull request #145 from datsirul/fix-140
Browse files Browse the repository at this point in the history
Fixed invalid syntax in `examples` #140
  • Loading branch information
costero-e authored Dec 12, 2024
2 parents 5c693b0 + 57f3ca1 commit 39f4242
Show file tree
Hide file tree
Showing 14 changed files with 109 additions and 59 deletions.
12 changes: 7 additions & 5 deletions models/json/beacon-v2-default-model/analyses/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
}
},
"filters": {
"examples": {
"example1": {
"value": [
"variantcaller:GATK4.0"
]
}
},
"in": "query",
"name": "filters",
"schema": {
"examples": [
[
"variantcaller:GATK4.0"
]
],
"items": {
"type": "string"
},
Expand Down
26 changes: 17 additions & 9 deletions models/json/beacon-v2-default-model/biosamples/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,26 @@
}
},
"filters": {
"in": "query",
"name": "filters",
"schema": {
"examples": [
[
"examples": {
"example1": {
"value": [
"NCIT:C3222"
],
[
"OBI:0100058",
]
},
"example2": {
"value": [
"NCIT:C4813"
]
],
},
"example3": {
"value": [
"OBI:0100058"
]
}
},
"in": "query",
"name": "filters",
"schema": {
"items": {
"type": "string"
},
Expand Down
12 changes: 7 additions & 5 deletions models/json/beacon-v2-default-model/cohorts/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
}
},
"filters": {
"examples": {
"example1": {
"value": [
"OMIABIS:0001017"
]
}
},
"in": "query",
"name": "filters",
"schema": {
"examples": [
[
"OMIABIS:0001017"
]
],
"items": {
"type": "string"
},
Expand Down
10 changes: 7 additions & 3 deletions models/json/beacon-v2-default-model/datasets/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@
}
},
"filters": {
"examples": {
"example1": {
"value": [
"DUO:0000007"
]
}
},
"in": "query",
"name": "filters",
"schema": {
"examples": [
"DUO:0000007"
],
"items": {
"type": "string"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,26 @@
}
},
"filters": {
"in": "query",
"name": "filters",
"schema": {
"examples": [
[
"examples": {
"example1": {
"value": [
"EFO:0009655"
],
[
"NCIT:C48725",
]
},
"example2": {
"value": [
"NCIT:C48725"
]
},
"example3": {
"value": [
"NCIT:C28080"
]
],
}
},
"in": "query",
"name": "filters",
"schema": {
"items": {
"type": "string"
},
Expand Down
12 changes: 7 additions & 5 deletions models/json/beacon-v2-default-model/individuals/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
}
},
"filters": {
"examples": {
"example1": {
"value": [
"NCIT:C20197"
]
}
},
"in": "query",
"name": "filters",
"schema": {
"examples": [
[
"NCIT:C20197"
]
],
"items": {
"type": "string"
},
Expand Down
12 changes: 7 additions & 5 deletions models/json/beacon-v2-default-model/runs/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@
}
},
"filters": {
"examples": {
"example1": {
"value": [
"OBI:0002048"
]
}
},
"in": "query",
"name": "filters",
"schema": {
"examples": [
[
"OBI:0002048"
]
],
"items": {
"type": "string"
},
Expand Down
6 changes: 4 additions & 2 deletions models/src/beacon-v2-default-model/analyses/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,7 @@ components:
type: array
items:
type: string
examples:
- - variantcaller:GATK4.0
examples:
example1:
value:
- variantcaller:GATK4.0
14 changes: 10 additions & 4 deletions models/src/beacon-v2-default-model/biosamples/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,13 @@ components:
type: array
items:
type: string
examples:
- - NCIT:C3222
- - OBI:0100058
- NCIT:C4813
examples:
example1:
value:
- NCIT:C3222
example2:
value:
- NCIT:C4813
example3:
value:
- OBI:0100058
6 changes: 4 additions & 2 deletions models/src/beacon-v2-default-model/cohorts/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,7 @@ components:
type: array
items:
type: string
examples:
- - OMIABIS:0001017
examples:
example1:
value:
- OMIABIS:0001017
6 changes: 4 additions & 2 deletions models/src/beacon-v2-default-model/datasets/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,7 @@ components:
type: array
items:
type: string
examples:
- DUO:0000007
examples:
example1:
value:
- DUO:0000007
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,13 @@ components:
type: array
items:
type: string
examples:
- - EFO:0009655
- - NCIT:C48725
- NCIT:C28080
examples:
example1:
value:
- EFO:0009655
example2:
value:
- NCIT:C48725
example3:
value:
- NCIT:C28080
6 changes: 4 additions & 2 deletions models/src/beacon-v2-default-model/individuals/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,7 @@ components:
type: array
items:
type: string
examples:
- - NCIT:C20197
examples:
example1:
value:
- NCIT:C20197
6 changes: 4 additions & 2 deletions models/src/beacon-v2-default-model/runs/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,5 +234,7 @@ components:
type: array
items:
type: string
examples:
- - OBI:0002048
examples:
example1:
value:
- OBI:0002048

0 comments on commit 39f4242

Please sign in to comment.