|
1 | 1 | {
|
2 | 2 | "swagger": "2.0",
|
| 3 | + "openapi": "string", |
3 | 4 | "info": {
|
4 | 5 | "version": "3.0.0.2",
|
5 | 6 | "title": "MyGene.info API",
|
|
15 | 16 | "x-maturity": "production",
|
16 | 17 | "x-implementationLanguage": "python"
|
17 | 18 | },
|
18 |
| - "externalDocs": [ |
19 |
| - { |
20 |
| - "description": "Find more info here", |
21 |
| - "url": "https://example.com", |
22 |
| - "x-type": "website" |
23 |
| - }, |
| 19 | + "externalDocs": { |
| 20 | + "description": "Find more info here", |
| 21 | + "url": "https://example.com" |
| 22 | + }, |
| 23 | + "x-externalResource": [ |
24 | 24 | {
|
25 |
| - "x-type": "api documentation", |
26 |
| - "url": "http://docs.mygene.info/en/latest/" |
| 25 | + "x-url": "http://example.org/api/docs", |
| 26 | + "x-type": "api documentation" |
27 | 27 | },
|
28 | 28 | {
|
| 29 | + "x-url": "https://doi.org/10.1093/nar/gks1114", |
29 | 30 | "x-type": "publication",
|
30 |
| - "url": "https://doi.org/10.1093/nar/gks1114" |
| 31 | + "x-description": "BioGPS and MyGene.info: organizing online, gene-centric information" |
31 | 32 | },
|
32 | 33 | {
|
33 |
| - "x-type": "social media", |
34 |
| - "url": "http://twitter.com/mygeneinfo" |
| 34 | + "x-url": "http://twitter.com/mygeneinfo", |
| 35 | + "x-type": "social media" |
35 | 36 | }
|
36 | 37 | ],
|
37 | 38 | "server": {
|
@@ -1057,178 +1058,178 @@
|
1057 | 1058 | "type": "object"
|
1058 | 1059 | },
|
1059 | 1060 | "description": "Successful response",
|
1060 |
| - "responseDataType": [ |
| 1061 | + "responseValueType": [ |
1061 | 1062 | {
|
1062 |
| - "elementPath": "ec", |
1063 |
| - "datatype": "http://identifiers.org/ec-code/" |
| 1063 | + "path": "ec", |
| 1064 | + "valueType": "http://identifiers.org/ec-code/" |
1064 | 1065 | },
|
1065 | 1066 | {
|
1066 |
| - "elementPath": "ensembl.gene", |
1067 |
| - "datatype": "http://identifiers.org/ensembl/" |
| 1067 | + "path": "ensembl.gene", |
| 1068 | + "valueType": "http://identifiers.org/ensembl/" |
1068 | 1069 | },
|
1069 | 1070 | {
|
1070 |
| - "elementPath": "ensembl.translation.protein", |
1071 |
| - "datatype": "http://identifiers.org/ensembl/" |
| 1071 | + "path": "ensembl.translation.protein", |
| 1072 | + "valueType": "http://identifiers.org/ensembl/" |
1072 | 1073 | },
|
1073 | 1074 | {
|
1074 |
| - "elementPath": "ensembl.translation.rna", |
1075 |
| - "datatype": "http://identifiers.org/ensembl/" |
| 1075 | + "path": "ensembl.translation.rna", |
| 1076 | + "valueType": "http://identifiers.org/ensembl/" |
1076 | 1077 | },
|
1077 | 1078 | {
|
1078 |
| - "elementPath": "entrezgene", |
1079 |
| - "datatype": "http://identifiers.org/ncbigene/" |
| 1079 | + "path": "entrezgene", |
| 1080 | + "valueType": "http://identifiers.org/ncbigene/" |
1080 | 1081 | },
|
1081 | 1082 | {
|
1082 |
| - "elementPath": "generif.pubmed", |
1083 |
| - "datatype": "http://identifiers.org/pubmed/" |
| 1083 | + "path": "generif.pubmed", |
| 1084 | + "valueType": "http://identifiers.org/pubmed/" |
1084 | 1085 | },
|
1085 | 1086 | {
|
1086 |
| - "elementPath": "go.bp.evidence", |
1087 |
| - "datatype": "http://identifiers.org/eco/" |
| 1087 | + "path": "go.bp.evidence", |
| 1088 | + "valueType": "http://identifiers.org/eco/" |
1088 | 1089 | },
|
1089 | 1090 | {
|
1090 |
| - "elementPath": "go.bp.id", |
1091 |
| - "datatype": "http://identifiers.org/go/" |
| 1091 | + "path": "go.bp.id", |
| 1092 | + "valueType": "http://identifiers.org/go/" |
1092 | 1093 | },
|
1093 | 1094 | {
|
1094 |
| - "elementPath": "go.bp.pubmed", |
1095 |
| - "datatype": "http://identifiers.org/pubmed/" |
| 1095 | + "path": "go.bp.pubmed", |
| 1096 | + "valueType": "http://identifiers.org/pubmed/" |
1096 | 1097 | },
|
1097 | 1098 | {
|
1098 |
| - "elementPath": "go.bp.term", |
1099 |
| - "datatype": "http://identifiers.org/go/" |
| 1099 | + "path": "go.bp.term", |
| 1100 | + "valueType": "http://identifiers.org/go/" |
1100 | 1101 | },
|
1101 | 1102 | {
|
1102 |
| - "elementPath": "go.cc.evidence", |
1103 |
| - "datatype": "http://identifiers.org/eco/" |
| 1103 | + "path": "go.cc.evidence", |
| 1104 | + "valueType": "http://identifiers.org/eco/" |
1104 | 1105 | },
|
1105 | 1106 | {
|
1106 |
| - "elementPath": "go.cc.id", |
1107 |
| - "datatype": "http://identifiers.org/go/" |
| 1107 | + "path": "go.cc.id", |
| 1108 | + "valueType": "http://identifiers.org/go/" |
1108 | 1109 | },
|
1109 | 1110 | {
|
1110 |
| - "elementPath": "go.cc.pubmed", |
1111 |
| - "datatype": "http://identifiers.org/pubmed/" |
| 1111 | + "path": "go.cc.pubmed", |
| 1112 | + "valueType": "http://identifiers.org/pubmed/" |
1112 | 1113 | },
|
1113 | 1114 | {
|
1114 |
| - "elementPath": "go.cc.term", |
1115 |
| - "datatype": "http://identifiers.org/go/" |
| 1115 | + "path": "go.cc.term", |
| 1116 | + "valueType": "http://identifiers.org/go/" |
1116 | 1117 | },
|
1117 | 1118 | {
|
1118 |
| - "elementPath": "go.mf.evidence", |
1119 |
| - "datatype": "http://identifiers.org/eco/" |
| 1119 | + "path": "go.mf.evidence", |
| 1120 | + "valueType": "http://identifiers.org/eco/" |
1120 | 1121 | },
|
1121 | 1122 | {
|
1122 |
| - "elementPath": "go.mf.id", |
1123 |
| - "datatype": "http://identifiers.org/go/" |
| 1123 | + "path": "go.mf.id", |
| 1124 | + "valueType": "http://identifiers.org/go/" |
1124 | 1125 | },
|
1125 | 1126 | {
|
1126 |
| - "elementPath": "go.mf.pubmed", |
1127 |
| - "datatype": "http://identifiers.org/pubmed/" |
| 1127 | + "path": "go.mf.pubmed", |
| 1128 | + "valueType": "http://identifiers.org/pubmed/" |
1128 | 1129 | },
|
1129 | 1130 | {
|
1130 |
| - "elementPath": "go.mf.qualifier", |
1131 |
| - "datatype": "http://identifiers.org/go/" |
| 1131 | + "path": "go.mf.qualifier", |
| 1132 | + "valueType": "http://identifiers.org/go/" |
1132 | 1133 | },
|
1133 | 1134 | {
|
1134 |
| - "elementPath": "go.mf.term", |
1135 |
| - "datatype": "http://identifiers.org/go/" |
| 1135 | + "path": "go.mf.term", |
| 1136 | + "valueType": "http://identifiers.org/go/" |
1136 | 1137 | },
|
1137 | 1138 | {
|
1138 |
| - "elementPath": "hgnc", |
1139 |
| - "datatype": "http://identifiers.org/hgnc/" |
| 1139 | + "path": "hgnc", |
| 1140 | + "valueType": "http://identifiers.org/hgnc/" |
1140 | 1141 | },
|
1141 | 1142 | {
|
1142 |
| - "elementPath": "homologene.id", |
1143 |
| - "datatype": "http://identifiers.org/homologene/" |
| 1143 | + "path": "homologene.id", |
| 1144 | + "valueType": "http://identifiers.org/homologene/" |
1144 | 1145 | },
|
1145 | 1146 | {
|
1146 |
| - "elementPath": "interpro.desc", |
1147 |
| - "datatype": "http://identifiers.org/interpro/" |
| 1147 | + "path": "interpro.desc", |
| 1148 | + "valueType": "http://identifiers.org/interpro/" |
1148 | 1149 | },
|
1149 | 1150 | {
|
1150 |
| - "elementPath": "interpro.id", |
1151 |
| - "datatype": "http://identifiers.org/interpro/" |
| 1151 | + "path": "interpro.id", |
| 1152 | + "valueType": "http://identifiers.org/interpro/" |
1152 | 1153 | },
|
1153 | 1154 | {
|
1154 |
| - "elementPath": "interpro.short_desc", |
1155 |
| - "datatype": "http://identifiers.org/interpro/" |
| 1155 | + "path": "interpro.short_desc", |
| 1156 | + "valueType": "http://identifiers.org/interpro/" |
1156 | 1157 | },
|
1157 | 1158 | {
|
1158 |
| - "elementPath": "mim", |
1159 |
| - "datatype": "http://identifiers.org/omim/" |
| 1159 | + "path": "mim", |
| 1160 | + "valueType": "http://identifiers.org/omim/" |
1160 | 1161 | },
|
1161 | 1162 | {
|
1162 |
| - "elementPath": "pathway.biocarta.id", |
1163 |
| - "datatype": "http://identifiers.org/biocarta.pathway/" |
| 1163 | + "path": "pathway.biocarta.id", |
| 1164 | + "valueType": "http://identifiers.org/biocarta.pathway/" |
1164 | 1165 | },
|
1165 | 1166 | {
|
1166 |
| - "elementPath": "pathway.biocarta.name", |
1167 |
| - "datatype": "http://identifiers.org/biocarta.pathway/" |
| 1167 | + "path": "pathway.biocarta.name", |
| 1168 | + "valueType": "http://identifiers.org/biocarta.pathway/" |
1168 | 1169 | },
|
1169 | 1170 | {
|
1170 |
| - "elementPath": "pathway.kegg.id", |
1171 |
| - "datatype": "http://identifiers.org/kegg.pathway/" |
| 1171 | + "path": "pathway.kegg.id", |
| 1172 | + "valueType": "http://identifiers.org/kegg.pathway/" |
1172 | 1173 | },
|
1173 | 1174 | {
|
1174 |
| - "elementPath": "pathway.kegg.name", |
1175 |
| - "datatype": "http://identifiers.org/kegg.pathway/" |
| 1175 | + "path": "pathway.kegg.name", |
| 1176 | + "valueType": "http://identifiers.org/kegg.pathway/" |
1176 | 1177 | },
|
1177 | 1178 | {
|
1178 |
| - "elementPath": "pathway.pid.id", |
1179 |
| - "datatype": "http://identifiers.org/pid.pathway/" |
| 1179 | + "path": "pathway.pid.id", |
| 1180 | + "valueType": "http://identifiers.org/pid.pathway/" |
1180 | 1181 | },
|
1181 | 1182 | {
|
1182 |
| - "elementPath": "pathway.pid.name", |
1183 |
| - "datatype": "http://identifiers.org/pid.pathway/" |
| 1183 | + "path": "pathway.pid.name", |
| 1184 | + "valueType": "http://identifiers.org/pid.pathway/" |
1184 | 1185 | },
|
1185 | 1186 | {
|
1186 |
| - "elementPath": "pathway.reactome.id", |
1187 |
| - "datatype": "http://identifiers.org/reactome/" |
| 1187 | + "path": "pathway.reactome.id", |
| 1188 | + "valueType": "http://identifiers.org/reactome/" |
1188 | 1189 | },
|
1189 | 1190 | {
|
1190 |
| - "elementPath": "pathway.reactome.name", |
1191 |
| - "datatype": "http://identifiers.org/reactome/" |
| 1191 | + "path": "pathway.reactome.name", |
| 1192 | + "valueType": "http://identifiers.org/reactome/" |
1192 | 1193 | },
|
1193 | 1194 | {
|
1194 |
| - "elementPath": "pathway.wikipathways.id", |
1195 |
| - "datatype": "http://identifiers.org/wikipathways/" |
| 1195 | + "path": "pathway.wikipathways.id", |
| 1196 | + "valueType": "http://identifiers.org/wikipathways/" |
1196 | 1197 | },
|
1197 | 1198 | {
|
1198 |
| - "elementPath": "pathway.wikipathways.name", |
1199 |
| - "datatype": "http://identifiers.org/wikipathways/" |
| 1199 | + "path": "pathway.wikipathways.name", |
| 1200 | + "valueType": "http://identifiers.org/wikipathways/" |
1200 | 1201 | },
|
1201 | 1202 | {
|
1202 |
| - "elementPath": "pfam", |
1203 |
| - "datatype": "http://identifiers.org/pfam/" |
| 1203 | + "path": "pfam", |
| 1204 | + "valueType": "http://identifiers.org/pfam/" |
1204 | 1205 | },
|
1205 | 1206 | {
|
1206 |
| - "elementPath": "pharmgkb", |
1207 |
| - "datatype": "http://identifiers.org/pharmgkb.pathways/" |
| 1207 | + "path": "pharmgkb", |
| 1208 | + "valueType": "http://identifiers.org/pharmgkb.pathways/" |
1208 | 1209 | },
|
1209 | 1210 | {
|
1210 |
| - "elementPath": "prosite", |
1211 |
| - "datatype": "http://identifiers.org/prosite/" |
| 1211 | + "path": "prosite", |
| 1212 | + "valueType": "http://identifiers.org/prosite/" |
1212 | 1213 | },
|
1213 | 1214 | {
|
1214 |
| - "elementPath": "refseq.translation.protein", |
1215 |
| - "datatype": "http://identifiers.org/refseq/" |
| 1215 | + "path": "refseq.translation.protein", |
| 1216 | + "valueType": "http://identifiers.org/refseq/" |
1216 | 1217 | },
|
1217 | 1218 | {
|
1218 |
| - "elementPath": "refseq.translation.rna", |
1219 |
| - "datatype": "http://identifiers.org/refseq/" |
| 1219 | + "path": "refseq.translation.rna", |
| 1220 | + "valueType": "http://identifiers.org/refseq/" |
1220 | 1221 | },
|
1221 | 1222 | {
|
1222 |
| - "elementPath": "taxid", |
1223 |
| - "datatype": "http://identifiers.org/taxonomy/" |
| 1223 | + "path": "taxid", |
| 1224 | + "valueType": "http://identifiers.org/taxonomy/" |
1224 | 1225 | },
|
1225 | 1226 | {
|
1226 |
| - "elementPath": "uniprot.swiss-prot", |
1227 |
| - "datatype": "http://identifiers.org/uniprot/" |
| 1227 | + "path": "uniprot.swiss-prot", |
| 1228 | + "valueType": "http://identifiers.org/uniprot/" |
1228 | 1229 | },
|
1229 | 1230 | {
|
1230 |
| - "elementPath": "wikipedia.url_stub", |
1231 |
| - "datatype": "http://identifiers.org/wikipedia.en/" |
| 1231 | + "path": "wikipedia.url_stub", |
| 1232 | + "valueType": "http://identifiers.org/wikipedia.en/" |
1232 | 1233 | }
|
1233 | 1234 | ]
|
1234 | 1235 | }
|
|
0 commit comments