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

Merged
merged 5 commits into from
Dec 12, 2024
Merged
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 @@ -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