Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed invalid Syntax in filtering_terms response #138 #142

Open
wants to merge 4 commits into
base: schema-urgent-fixes
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion framework/json/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,14 @@
"operationId": "getFilteringTerms",
"responses": {
"200": {
"$ref": "./responses/beaconFilteringTermsResponse.json"
"content": {
"application/json": {
"schema": {
"$ref": "./responses/beaconFilteringTermsResponse.json"
}
}
},
"description": "Successful operation."
},
"default": {
"$ref": "./responses/beaconErrorResponse.json",
Expand Down
6 changes: 5 additions & 1 deletion framework/src/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ paths:
- Informational endpoints
responses:
'200':
$ref: ./responses/beaconFilteringTermsResponse.yaml
description: Successful operation.
content:
application/json:
schema:
$ref: ./responses/beaconFilteringTermsResponse.yaml
default:
description: An unsuccessful operation.
$ref: ./responses/beaconErrorResponse.yaml
Expand Down
9 changes: 8 additions & 1 deletion models/json/beacon-v2-default-model/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,14 @@
"operationId": "getFilteringTerms",
"responses": {
"200": {
"$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json"
"content": {
"application/json": {
"schema": {
"$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json"
}
}
},
"description": "Successful operation"
},
"default": {
"$ref": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconErrorResponse.json",
Expand Down
6 changes: 5 additions & 1 deletion models/src/beacon-v2-default-model/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ paths:
- Informational endpoints
responses:
'200':
$ref: https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/framework/json/responses/beaconFilteringTermsResponse.json
description: Successful operation
content:
application/json:
schema:
$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
Expand Down