diff --git a/framework/json/endpoints.json b/framework/json/endpoints.json index 5f7fe9da..a7bc485d 100644 --- a/framework/json/endpoints.json +++ b/framework/json/endpoints.json @@ -63,7 +63,13 @@ "$ref": "#/components/responses/infoOKResponse" }, "default": { - "$ref": "./responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "./responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation." } }, @@ -94,7 +100,13 @@ "description": "Successful operation." }, "default": { - "$ref": "./responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "./responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation." } }, @@ -121,7 +133,13 @@ "description": "Successful operation." }, "default": { - "$ref": "./responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "./responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation." } }, @@ -139,7 +157,13 @@ "$ref": "./responses/beaconFilteringTermsResponse.json" }, "default": { - "$ref": "./responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "./responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation." } }, @@ -165,7 +189,13 @@ "$ref": "#/components/responses/infoOKResponse" }, "default": { - "$ref": "./responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "./responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation." } }, @@ -197,7 +227,13 @@ "description": "Successful operation." }, "default": { - "$ref": "./responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "./responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation." } }, diff --git a/framework/src/endpoints.yaml b/framework/src/endpoints.yaml index b1af44b9..1ab4e268 100644 --- a/framework/src/endpoints.yaml +++ b/framework/src/endpoints.yaml @@ -24,7 +24,10 @@ paths: $ref: '#/components/responses/infoOKResponse' default: description: An unsuccessful operation. - $ref: ./responses/beaconErrorResponse.yaml + content: + application/json: + schema: + $ref: ./responses/beaconErrorResponse.yaml /info: parameters: - $ref: '#/components/parameters/requestedSchema' @@ -38,7 +41,10 @@ paths: $ref: '#/components/responses/infoOKResponse' default: description: An unsuccessful operation. - $ref: ./responses/beaconErrorResponse.yaml + content: + application/json: + schema: + $ref: ./responses/beaconErrorResponse.yaml /service-info: get: description: Get information about the beacon using GA4GH ServiceInfo format @@ -68,7 +74,10 @@ paths: $ref: ./responses/beaconConfigurationResponse.yaml default: description: An unsuccessful operation. - $ref: ./responses/beaconErrorResponse.yaml + content: + application/json: + schema: + $ref: ./responses/beaconErrorResponse.yaml /map: get: description: TBD @@ -86,7 +95,10 @@ paths: $ref: ./responses/beaconMapResponse.yaml default: description: An unsuccessful operation. - $ref: ./responses/beaconErrorResponse.yaml + content: + application/json: + schema: + $ref: ./responses/beaconErrorResponse.yaml /entry_types: get: description: TBD @@ -104,7 +116,10 @@ paths: $ref: ./responses/beaconEntryTypesResponse.yaml default: description: An unsuccessful operation. - $ref: ./responses/beaconErrorResponse.yaml + content: + application/json: + schema: + $ref: ./responses/beaconErrorResponse.yaml /filtering_terms: parameters: - $ref: '#/components/parameters/skip' @@ -119,7 +134,10 @@ paths: $ref: ./responses/beaconFilteringTermsResponse.yaml default: description: An unsuccessful operation. - $ref: ./responses/beaconErrorResponse.yaml + content: + application/json: + schema: + $ref: ./responses/beaconErrorResponse.yaml components: responses: infoOKResponse: diff --git a/models/json/beacon-v2-default-model/analyses/endpoints.json b/models/json/beacon-v2-default-model/analyses/endpoints.json index ec8fe9d8..b8a864c5 100644 --- a/models/json/beacon-v2-default-model/analyses/endpoints.json +++ b/models/json/beacon-v2-default-model/analyses/endpoints.json @@ -147,7 +147,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -165,7 +171,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -196,7 +208,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -225,7 +243,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -256,7 +280,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/json/beacon-v2-default-model/biosamples/endpoints.json b/models/json/beacon-v2-default-model/biosamples/endpoints.json index 56968b13..2f3e7a89 100644 --- a/models/json/beacon-v2-default-model/biosamples/endpoints.json +++ b/models/json/beacon-v2-default-model/biosamples/endpoints.json @@ -144,7 +144,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -162,7 +168,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -193,7 +205,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -222,7 +240,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -253,7 +277,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -282,7 +312,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -313,7 +349,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -349,7 +391,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -387,7 +435,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/json/beacon-v2-default-model/cohorts/endpoints.json b/models/json/beacon-v2-default-model/cohorts/endpoints.json index 7908ea74..9c7e161c 100644 --- a/models/json/beacon-v2-default-model/cohorts/endpoints.json +++ b/models/json/beacon-v2-default-model/cohorts/endpoints.json @@ -154,7 +154,13 @@ "$ref": "#/components/responses/CollectionsResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -177,7 +183,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -208,7 +220,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -241,7 +259,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -279,7 +303,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -308,7 +338,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -339,7 +375,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/json/beacon-v2-default-model/datasets/endpoints.json b/models/json/beacon-v2-default-model/datasets/endpoints.json index 29994ad6..4725aba2 100644 --- a/models/json/beacon-v2-default-model/datasets/endpoints.json +++ b/models/json/beacon-v2-default-model/datasets/endpoints.json @@ -152,7 +152,13 @@ "$ref": "#/components/responses/CollectionsResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -175,7 +181,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -206,7 +218,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -235,7 +253,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -266,7 +290,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -299,7 +329,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -337,7 +373,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -366,7 +408,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -397,7 +445,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -426,7 +480,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -457,7 +517,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/json/beacon-v2-default-model/endpoints.json b/models/json/beacon-v2-default-model/endpoints.json index 0116f2fd..49dc93ff 100644 --- a/models/json/beacon-v2-default-model/endpoints.json +++ b/models/json/beacon-v2-default-model/endpoints.json @@ -63,7 +63,13 @@ "$ref": "#/components/responses/infoOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -94,7 +100,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -121,7 +133,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -139,7 +157,13 @@ "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -165,7 +189,13 @@ "$ref": "#/components/responses/infoOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -197,7 +227,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/json/beacon-v2-default-model/genomicVariations/endpoints.json b/models/json/beacon-v2-default-model/genomicVariations/endpoints.json index 362d4a44..993eee48 100644 --- a/models/json/beacon-v2-default-model/genomicVariations/endpoints.json +++ b/models/json/beacon-v2-default-model/genomicVariations/endpoints.json @@ -275,7 +275,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -293,7 +299,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -324,7 +336,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -353,7 +371,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -384,7 +408,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -413,7 +443,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -444,7 +480,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/json/beacon-v2-default-model/individuals/endpoints.json b/models/json/beacon-v2-default-model/individuals/endpoints.json index cd7d307c..70b5e154 100644 --- a/models/json/beacon-v2-default-model/individuals/endpoints.json +++ b/models/json/beacon-v2-default-model/individuals/endpoints.json @@ -140,7 +140,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -173,7 +179,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -206,7 +218,13 @@ "description": "Successful operation" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -224,7 +242,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -255,7 +279,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -284,7 +314,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -315,7 +351,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -344,7 +386,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -375,7 +423,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/json/beacon-v2-default-model/runs/endpoints.json b/models/json/beacon-v2-default-model/runs/endpoints.json index 70ade3bc..c557dc00 100644 --- a/models/json/beacon-v2-default-model/runs/endpoints.json +++ b/models/json/beacon-v2-default-model/runs/endpoints.json @@ -156,7 +156,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -174,7 +180,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -205,7 +217,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -234,7 +252,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -265,7 +289,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -294,7 +324,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, @@ -325,7 +361,13 @@ "$ref": "#/components/responses/ResultsOKResponse" }, "default": { - "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json", + "content": { + "application/json": { + "schema": { + "$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json" + } + } + }, "description": "An unsuccessful operation" } }, diff --git a/models/src/beacon-v2-default-model/analyses/endpoints.yaml b/models/src/beacon-v2-default-model/analyses/endpoints.yaml index fed2b166..f62ce959 100644 --- a/models/src/beacon-v2-default-model/analyses/endpoints.yaml +++ b/models/src/beacon-v2-default-model/analyses/endpoints.yaml @@ -47,7 +47,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconResultsetsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /analyses/{id}: parameters: - $ref: '#/components/parameters/entryId' @@ -63,7 +66,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get details about one bioinformatics analysis, identified by its @@ -82,7 +88,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /analyses/{id}/g_variants: parameters: - $ref: '#/components/parameters/entryId' @@ -102,7 +111,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *genomic variations* response for one bioinformatics analysis, @@ -121,7 +133,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: ResultsOKResponse: diff --git a/models/src/beacon-v2-default-model/biosamples/endpoints.yaml b/models/src/beacon-v2-default-model/biosamples/endpoints.yaml index 8595c173..2f090ff6 100644 --- a/models/src/beacon-v2-default-model/biosamples/endpoints.yaml +++ b/models/src/beacon-v2-default-model/biosamples/endpoints.yaml @@ -43,7 +43,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /biosamples/{id}: parameters: - $ref: '#/components/parameters/entryId' @@ -58,7 +61,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get details about one Biosample, identified by its (unique) 'id' @@ -76,7 +82,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /biosamples/{id}/g_variants: parameters: - $ref: '#/components/parameters/entryId' @@ -96,7 +105,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *genomic variations* response from one biosample, identified by @@ -115,7 +127,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /biosamples/{id}/analyses: parameters: - $ref: '#/components/parameters/entryId' @@ -135,7 +150,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get an *analyses* response from one biosample, identified by its @@ -154,7 +172,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /biosamples/{id}/runs: parameters: - $ref: '#/components/parameters/entryId' @@ -177,7 +198,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconResultsetsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *runs* response from one biosample, identified by its (unique) 'id' @@ -199,7 +223,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconResultsetsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: ResultsOKResponse: diff --git a/models/src/beacon-v2-default-model/cohorts/endpoints.yaml b/models/src/beacon-v2-default-model/cohorts/endpoints.yaml index b9585b70..74e7c970 100644 --- a/models/src/beacon-v2-default-model/cohorts/endpoints.yaml +++ b/models/src/beacon-v2-default-model/cohorts/endpoints.yaml @@ -47,7 +47,10 @@ paths: $ref: '#/components/responses/CollectionsResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /cohorts/{id}: parameters: - $ref: '#/components/parameters/entryId' @@ -63,7 +66,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: Get details about one cohort, identified by its (unique) 'id' operationId: postOneCohort @@ -80,7 +86,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /cohorts/{id}/individuals: parameters: - $ref: '#/components/parameters/entryId' @@ -100,7 +109,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get an *individuals* response for one cohort, identified by its (unique) @@ -119,7 +131,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /cohorts/{id}/filtering_terms: parameters: - $ref: '#/components/parameters/entryId' @@ -142,7 +157,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a response about the *filtering terms* that could be used with a @@ -165,7 +183,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: ResultsOKResponse: diff --git a/models/src/beacon-v2-default-model/datasets/endpoints.yaml b/models/src/beacon-v2-default-model/datasets/endpoints.yaml index 320f0cd6..d77cfa50 100644 --- a/models/src/beacon-v2-default-model/datasets/endpoints.yaml +++ b/models/src/beacon-v2-default-model/datasets/endpoints.yaml @@ -47,7 +47,10 @@ paths: $ref: '#/components/responses/CollectionsResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /datasets/{id}: parameters: - $ref: '#/components/parameters/entryId' @@ -63,7 +66,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: Get details about one dataset, identified by its (unique) 'id' operationId: postOneDataset @@ -80,7 +86,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /datasets/{id}/g_variants: parameters: - $ref: '#/components/parameters/entryId' @@ -100,7 +109,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *genomic variations* response for one dataset, identified by its @@ -119,7 +131,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /datasets/{id}/biosamples: parameters: - $ref: '#/components/parameters/entryId' @@ -139,7 +154,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *biosamples* response for one dataset, identified by its (unique) @@ -158,7 +176,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /datasets/{id}/individuals: parameters: - $ref: '#/components/parameters/entryId' @@ -178,7 +199,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get an *individuals* response for one dataset, identified by its (unique) @@ -197,7 +221,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /datasets/{id}/filtering_terms: parameters: - $ref: '#/components/parameters/entryId' @@ -220,7 +247,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a response about the *filtering terms* that could be used with a @@ -243,7 +273,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: ResultsOKResponse: diff --git a/models/src/beacon-v2-default-model/endpoints.yaml b/models/src/beacon-v2-default-model/endpoints.yaml index 3b744b30..c7f2de90 100644 --- a/models/src/beacon-v2-default-model/endpoints.yaml +++ b/models/src/beacon-v2-default-model/endpoints.yaml @@ -24,7 +24,10 @@ paths: $ref: '#/components/responses/infoOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /info: parameters: - $ref: '#/components/parameters/requestedSchema' @@ -38,7 +41,10 @@ paths: $ref: '#/components/responses/infoOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /service-info: get: description: Get information about the beacon using GA4GH ServiceInfo format @@ -68,7 +74,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconConfigurationResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /entry_types: get: description: TBD @@ -86,7 +95,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconEntryTypesResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /map: get: description: TBD @@ -104,7 +116,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconMapResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /filtering_terms: parameters: - $ref: '#/components/parameters/skip' @@ -119,7 +134,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: infoOKResponse: diff --git a/models/src/beacon-v2-default-model/genomicVariations/endpoints.yaml b/models/src/beacon-v2-default-model/genomicVariations/endpoints.yaml index 3f4397d3..be4f373f 100644 --- a/models/src/beacon-v2-default-model/genomicVariations/endpoints.yaml +++ b/models/src/beacon-v2-default-model/genomicVariations/endpoints.yaml @@ -54,7 +54,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /g_variants/{id}: parameters: - $ref: '#/components/parameters/entryId' @@ -69,7 +72,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get details about one genomic variation, identified by its (unique) 'id' @@ -87,7 +93,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /g_variants/{id}/biosamples: parameters: - $ref: '#/components/parameters/entryId' @@ -107,7 +116,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *biosamples* response from one genomic variant, identified by its @@ -126,7 +138,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /g_variants/{id}/individuals: parameters: - $ref: '#/components/parameters/entryId' @@ -146,7 +161,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get an *individuals* response from one genomic variant, identified by @@ -165,7 +183,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: ResultsOKResponse: diff --git a/models/src/beacon-v2-default-model/individuals/endpoints.yaml b/models/src/beacon-v2-default-model/individuals/endpoints.yaml index 8adfaa77..886535ed 100644 --- a/models/src/beacon-v2-default-model/individuals/endpoints.yaml +++ b/models/src/beacon-v2-default-model/individuals/endpoints.yaml @@ -43,7 +43,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /individuals/{id}: parameters: - $ref: '#/components/parameters/entryId' @@ -58,7 +61,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get details about one individual, identified by its (unique) 'id' @@ -76,7 +82,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /individuals/{id}/g_variants: parameters: - $ref: '#/components/parameters/entryId' @@ -96,7 +105,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *genomic variations* response for one individual, identified by @@ -115,7 +127,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /individuals/{id}/biosamples: parameters: - $ref: '#/components/parameters/entryId' @@ -135,7 +150,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *biosamples* response for one individual, identified by its @@ -154,7 +172,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /individuals/filtering_terms: get: parameters: @@ -173,7 +194,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: Get the list of filtering terms that could be used with individuals. operationId: postIndividualsFilteringTerms @@ -194,7 +218,10 @@ paths: $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: ResultsOKResponse: diff --git a/models/src/beacon-v2-default-model/runs/endpoints.yaml b/models/src/beacon-v2-default-model/runs/endpoints.yaml index 773f7bdd..d0927cd3 100644 --- a/models/src/beacon-v2-default-model/runs/endpoints.yaml +++ b/models/src/beacon-v2-default-model/runs/endpoints.yaml @@ -43,7 +43,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /runs/{id}: parameters: - $ref: '#/components/parameters/entryId' @@ -58,7 +61,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get details about one experimental run, identified by its (unique) 'id' @@ -76,7 +82,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /runs/{id}/g_variants: parameters: - $ref: '#/components/parameters/entryId' @@ -96,7 +105,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *genomic variations* response for one experimental run, identified @@ -115,7 +127,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json /runs/{id}/analyses: parameters: - $ref: '#/components/parameters/entryId' @@ -135,7 +150,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json post: description: >- Get a *analyses* response for one experimental run, identified by its @@ -154,7 +172,10 @@ paths: $ref: '#/components/responses/ResultsOKResponse' default: description: An unsuccessful operation - $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json + content: + application/json: + schema: + $ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json components: responses: ResultsOKResponse: