Skip to content

Commit 00fb4a4

Browse files
authored
Update mygene.info.openapi.v3
1 parent c311f24 commit 00fb4a4

File tree

1 file changed

+51
-25
lines changed

1 file changed

+51
-25
lines changed

node_modules_changes/mygene.info.openapi.v3

Lines changed: 51 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ x-externalResources:
2626
- x-url: 'http://twitter.com/mygeneinfo'
2727
x-type: social media
2828
servers:
29-
- url: 'http://mygene.info'
29+
- url: 'http://mygene.info/{basePath}'
3030
description: Development server
3131
x-___location: 'California, USA'
32+
variables:
33+
basePath:
34+
default: v3
3235
tags:
3336
- x-id: 'http://purl.bioontology.org/ontology/MESH/D005796'
3437
name: Genes
@@ -116,7 +119,11 @@ paths:
116119
description: Successful response.
117120
content:
118121
application/json:
119-
x-responseProfile: 'http://www.w3.org/ns/anno.jsonld'
122+
x-responseValueType:
123+
- path: a.id
124+
valueType: 'http://example.org/a.id'
125+
- path: a.b.c.id
126+
valueType: 'http://example.org/c.id'
120127
'/gene/{geneid}':
121128
get:
122129
tags:
@@ -140,29 +147,48 @@ paths:
140147
responses:
141148
'200':
142149
description: Successful response
143-
content:
144-
application/json:
145-
x-responseSchema:
146-
properties:
147-
reporter:
148-
properties:
149-
HTA-2_0:
150-
type: string
151-
HG-U133_Plus_2:
152-
items:
153-
type: string
154-
type: array
155-
HuEx-1_0:
156-
type: integer
157-
HuGene-1_1:
158-
type: integer
159-
HuGene-2_1:
160-
type: integer
161-
HG-U95Av2:
162-
items:
163-
type: string
164-
type: array
165-
type: object
150+
"content": {
151+
"application/json": {
152+
"schema": {
153+
"type": "array",
154+
"items": {
155+
"properties": {
156+
"reporter": {
157+
"properties": {
158+
"HTA-2_0": {
159+
"type": "string"
160+
},
161+
"HG-U133_Plus_2": {
162+
"type": "array",
163+
"items": {
164+
"type": "string"
165+
}
166+
},
167+
"HuGene-2_1": {
168+
"type": "integer"
169+
},
170+
"HuGene-1_1": {
171+
"type": "integer"
172+
},
173+
"HG-U95Av2": {
174+
"type": "array",
175+
"items": {
176+
"type": "string"
177+
}
178+
},
179+
"HuEx-1_0": {
180+
"type": "integer"
181+
}
182+
},
183+
"type": "object"
184+
}
185+
}
186+
}
187+
}
188+
}
189+
}
190+
x-responseSchema: 'Conformance to a particular schema/format'
191+
x-JSONLDContext: 'http://www.w3.org/ns/anno.jsonld'
166192
x-responseValueType:
167193
- path: ec
168194
valueType: 'http://identifiers.org/ec-code/'

0 commit comments

Comments
 (0)