Skip to content

Commit 1dc643c

Browse files
authored
Update mygene.info.v3.compliant
1 parent 5b0eaf0 commit 1dc643c

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

versions/mygene.info.v3.compliant

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"termsOfService": "http://example.com/terms/",
88
"contact": {
99
"name": "Chunlei Wu",
10-
"x-role": "responsibleDeveloper",
10+
"x-role": "responsible developer",
1111
"email": "[email protected]",
1212
"x-id": "http://orcid.org/0000-0002-2629-6124"
1313
},
@@ -126,6 +126,7 @@
126126
"/query": {
127127
"get": {
128128
"description": "Makes gene query and returns matching gene list.",
129+
"summary": "Makes gene query and returns matching gene list.",
129130
"x-accessRestriction": "free",
130131
"parameters": [
131132
{
@@ -142,11 +143,11 @@
142143
"http://identifiers.org/refseq",
143144
"http://identifiers.org/unigene",
144145
"http://identifiers.org/uniprot",
145-
"http://identifiers.org/pdb"
146+
"http://identifiers.org/pdb' x-defaultValue: CDK2 x-exampleValue: CDK2 operationId: queryGene responses: responses: "
146147
]
147148
}
148149
],
149-
"operationId": "queryGene",
150+
"operationId": "add operation id here",
150151
"responses": {
151152
"200": {
152153
"description": "Successful response.",
@@ -167,7 +168,7 @@
167168
}
168169
}
169170
}
170-
}
171+
}
171172
},
172173
"/gene/{geneid}": {
173174
"get": {
@@ -180,20 +181,23 @@
180181
"in": "path",
181182
"description": "Entrez or Ensembl gene id, e.g., 1017, ENSG00000170248. A retired Entrez Gene id works too if it is replaced by a new one, e.g., 245794",
182183
"required": true,
183-
"type": "string",
184184
"x-parameterType": "InputParameter",
185185
"x-valueType": [
186186
"http://identifiers.org/ncbigene",
187187
"http://identifiers.org/ensembl"
188188
],
189-
"x-defaultValue": null,
189+
"x-defaultValue": "add default",
190190
"x-exampleValue": "1017"
191191
}
192192
],
193193
"operationId": "getAnnotation",
194+
"summary": "add summary",
194195
"responses": {
195196
"200": {
196-
"schema": {
197+
"description": "Successful response",
198+
"content": {
199+
"application/json": {
200+
"x-responseSchema": {
197201
"properties": {
198202
"reporter": {
199203
"properties": {
@@ -226,7 +230,7 @@
226230
}
227231
}
228232
},
229-
"description": "Successful response",
233+
230234
"x-responseValueType": [
231235
{
232236
"path": "ec",
@@ -256,6 +260,8 @@
256260
}
257261
}
258262
}
259-
}
263+
}
264+
}
260265
}
266+
}
261267
}

0 commit comments

Comments
 (0)