Skip to content

Commit

Permalink
fix: update variable names in smartapi to avoid validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Nov 19, 2024
1 parent 8ca8bb4 commit b4790e8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ paths:
schema:
$ref: '#/components/schemas/MetaKnowledgeGraph'
## copied from /meta_knowledge_graph above and modified: BTE-specific endpoint
/smartapi/{smartapi_id}/meta_knowledge_graph:
/smartapi/{smartAPIID}/meta_knowledge_graph:
get:
tags:
- meta_knowledge_graph
Expand All @@ -87,7 +87,7 @@ paths:
SmartAPI ID of an API with x-bte annotation. The easiest way to find these is to read the list of APIs BTE uses
https://github.com/biothings/biothings_explorer/blob/main/src/config/apis.js
in: path
name: smartapi_id
name: smartAPID
required: true
example: 09c8782d9f4027712e65b95424adba79 ## MyVariant
schema:
Expand All @@ -101,7 +101,7 @@ paths:
schema:
$ref: '#/components/schemas/MetaKnowledgeGraph'
## copied from /meta_knowledge_graph above and modified: BTE-specific endpoint
/team/{team_name}/meta_knowledge_graph:
/team/{teamName}/meta_knowledge_graph:
get:
tags:
- meta_knowledge_graph
Expand All @@ -113,7 +113,7 @@ paths:
https://github.com/biothings/biothings_explorer/blob/main/src/config/apis.js.
Note that Service Provider endpoints are also registered separately as a KP in the SmartAPI Registry
in: path
name: team_name
name: teamName
required: true
example: "Service Provider"
schema:
Expand Down Expand Up @@ -228,7 +228,7 @@ paths:
schema:
type: string
## copied from /query above and modified: BTE-specific endpoint
/smartapi/{smartapi_id}/query:
/smartapi/{smartAPIID}/query:
post:
tags:
- query
Expand All @@ -238,7 +238,7 @@ paths:
SmartAPI ID of an API with x-bte annotation. The easiest way to find these is to read the list of APIs BTE uses
https://github.com/biothings/biothings_explorer/blob/main/src/config/apis.js
in: path
name: smartapi_id
name: smartAPIID
required: true
example: 09c8782d9f4027712e65b95424adba79 ## MyVariant
schema:
Expand Down Expand Up @@ -328,7 +328,7 @@ paths:
schema:
type: string
## copied from /query above and modified: BTE-specific endpoint
/team/{team_name}/query:
/team/{teamName}/query:
post:
tags:
- query
Expand All @@ -342,7 +342,7 @@ paths:
https://github.com/biothings/biothings_explorer/blob/main/src/config/apis.js.
Note that Service Provider endpoints are also registered separately as a KP in the SmartAPI Registry
in: path
name: team_name
name: teamName
required: true
example: "Service Provider"
schema:
Expand Down Expand Up @@ -543,7 +543,7 @@ paths:
schema:
type: string
## copied from /asyncquery above and modified: BTE-specific endpoint
/smartapi/{smartapi_id}/asyncquery:
/smartapi/{smartAPIID}/asyncquery:
post:
tags:
- asyncquery
Expand All @@ -562,7 +562,7 @@ paths:
SmartAPI ID of an API with x-bte annotation. The easiest way to find these is to read the list of APIs BTE uses
https://github.com/biothings/biothings_explorer/blob/main/src/config/apis.js
in: path
name: smartapi_id
name: smartAPIID
required: true
example: 09c8782d9f4027712e65b95424adba79 ## MyVariant
schema:
Expand Down Expand Up @@ -656,7 +656,7 @@ paths:
schema:
type: string
## copied from /asyncquery above and modified: BTE-specific endpoint
/team/{team_name}/asyncquery:
/team/{teamName}/asyncquery:
post:
tags:
- asyncquery
Expand All @@ -677,7 +677,7 @@ paths:
https://github.com/biothings/biothings_explorer/blob/main/src/config/apis.js.
Note that Service Provider endpoints are also registered separately as a KP in the SmartAPI Registry
in: path
name: team_name
name: teamName
required: true
example: "Service Provider"
schema:
Expand Down

0 comments on commit b4790e8

Please sign in to comment.