Skip to content

Commit

Permalink
Merge pull request #142 from datsirul/fix-138
Browse files Browse the repository at this point in the history
Fixed invalid Syntax in `filtering_terms` response #138
  • Loading branch information
costero-e authored Dec 12, 2024
2 parents e79b76d + 8e9b9e3 commit 8e0c390
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
9 changes: 8 additions & 1 deletion framework/json/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,14 @@
"operationId": "getFilteringTerms",
"responses": {
"200": {
"$ref": "./responses/beaconFilteringTermsResponse.json"
"content": {
"application/json": {
"schema": {
"$ref": "./responses/beaconFilteringTermsResponse.json"
}
}
},
"description": "Successful operation."
},
"default": {
"content": {
Expand Down
6 changes: 5 additions & 1 deletion framework/src/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,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.
content:
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 @@ -154,7 +154,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": {
"content": {
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 @@ -131,7 +131,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
content:
Expand Down

0 comments on commit 8e0c390

Please sign in to comment.