From b4790e8c2f81093f965aa58a0ea44b08f85564fb Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:00:18 -0500 Subject: [PATCH] fix: update variable names in smartapi to avoid validation errors --- docs/smartapi.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/smartapi.yaml b/docs/smartapi.yaml index 15c2aef..507c6a3 100644 --- a/docs/smartapi.yaml +++ b/docs/smartapi.yaml @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 @@ -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: @@ -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 @@ -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: