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

Add qualifiers #535

Merged
merged 9 commits into from
Dec 21, 2022
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
8 changes: 4 additions & 4 deletions __test__/integration/TRAPIv1.1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ describe("Testing v1.1 endpoints", () => {
expect.arrayContaining([
expect.objectContaining({
"subject": "biolink:SmallMolecule",
"predicate": "biolink:entity_positively_regulates_entity",
"object": "biolink:Gene",
"predicate": "biolink:treats",
"object": "biolink:Disease",
})
])
);
Expand Down Expand Up @@ -106,8 +106,8 @@ describe("Testing v1.1 endpoints", () => {
expect.arrayContaining([
expect.objectContaining({
"subject": "biolink:SmallMolecule",
"predicate": "biolink:entity_positively_regulates_entity",
"object": "biolink:Gene"
"predicate": "biolink:treats",
"object": "biolink:Disease"
})
])
);
Expand Down
2 changes: 1 addition & 1 deletion data/predicates.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/smartapi_specs.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ info:
## test_data_location not included for now
x-translator:
infores: "infores:biothings-explorer"
biolink-version: 2.4.8
biolink-version: "3.1.1"
component: ARA
team:
- Exploring Agent
Expand Down Expand Up @@ -107,8 +107,8 @@ paths:
Translator Team Name. Current options: Service Provider, Multiomics Provider, Text Mining Provider.
The easiest way to find what KP APIs would be included under these teams is to read the list of APIs BTE uses
https://github.com/biothings/BioThings_Explorer_TRAPI/blob/main/src/config/apis.js.
Note that Service Provider endpoints are also advertised separately as a KP
http://smart-api.info/registry?q=36f82f05705c317bac17ddae3a0ea2f0
Note that Service Provider endpoints are also advertised separately as a KP
http://smart-api.info/registry?q=36f82f05705c317bac17ddae3a0ea2f0
in: path
name: team_name
required: true
Expand Down Expand Up @@ -331,8 +331,8 @@ paths:
Translator Team Name. Current options: Service Provider, Multiomics Provider, Text Mining Provider.
The easiest way to find what KP APIs would be included under these teams is to read the list of APIs BTE uses
https://github.com/biothings/BioThings_Explorer_TRAPI/blob/main/src/config/apis.js.
Note that Service Provider endpoints are also advertised separately as a KP
http://smart-api.info/registry?q=36f82f05705c317bac17ddae3a0ea2f0
Note that Service Provider endpoints are also advertised separately as a KP
http://smart-api.info/registry?q=36f82f05705c317bac17ddae3a0ea2f0
in: path
name: team_name
required: true
Expand Down Expand Up @@ -454,7 +454,7 @@ paths:
schema:
type: string
description: >-
Logging level. The order of priority is ERROR, WARNING, INFO, DEBUG. BTE will return all logs at the
Logging level. The order of priority is ERROR, WARNING, INFO, DEBUG. BTE will return all logs at the
specified level and those at higher priority levels
enum:
- ERROR
Expand Down Expand Up @@ -596,7 +596,7 @@ paths:
tags:
- asyncquery
summary: >-
This endpoint is for asynchronously querying an individual SmartAPI KP API (that has x-bte annotation)
This endpoint is for asynchronously querying an individual SmartAPI KP API (that has x-bte annotation)
as a TRAPI KP API.

Initiate a query that will be handled in an asynchronous manner (there is a
Expand Down Expand Up @@ -709,7 +709,7 @@ paths:
tags:
- asyncquery
summary: >-
This endpoint is for asynchronously querying an individual Translator team's SMARTAPI KP APIs (that have x-bte annotation)
This endpoint is for asynchronously querying an individual Translator team's SMARTAPI KP APIs (that have x-bte annotation)
as an individual TRAPI service by specifying the team name.

Initiate a query that will be handled in an asynchronous manner (there is a
Expand All @@ -723,8 +723,8 @@ paths:
Translator Team Name. Current options: Service Provider, Multiomics Provider, Text Mining Provider.
The easiest way to find what KP APIs would be included under these teams is to read the list of APIs BTE uses
https://github.com/biothings/BioThings_Explorer_TRAPI/blob/main/src/config/apis.js.
Note that Service Provider endpoints are also advertised separately as a KP
http://smart-api.info/registry?q=36f82f05705c317bac17ddae3a0ea2f0
Note that Service Provider endpoints are also advertised separately as a KP
http://smart-api.info/registry?q=36f82f05705c317bac17ddae3a0ea2f0
in: path
name: team_name
required: true
Expand Down Expand Up @@ -830,7 +830,7 @@ components:
## - AsyncQuery: callback property not required (commented it out of the 'required' field),
## comment out workflow.allOf section
## - Response: comment out workflow.allOf section
## - Attribute: comment out properties.attributes.items since the self-$ref breaks execution of
## - Attribute: comment out properties.attributes.items since the self-$ref breaks execution of
## BTE's api-schema-builder/openapi-validator-middleware
schemas:
Query:
Expand Down
2 changes: 1 addition & 1 deletion src/config/apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ exports.API_LIST = {
},
{
id: '34bad236d77bea0a0ee6c6cba5be54a6',
name: 'Gene Ontology Molecular Activity API'
name: 'Gene Ontology Molecular Function API'
},
{
id: 'a5b0ec6bfde5008984d4b6cde402d61f',
Expand Down