diff --git a/EBIgene2phenotype/smartapi.yaml b/EBIgene2phenotype/smartapi.yaml index 4fc226ff..d2dadbc3 100644 --- a/EBIgene2phenotype/smartapi.yaml +++ b/EBIgene2phenotype/smartapi.yaml @@ -37,9 +37,9 @@ paths: - name: id in: path required: true + example: "341" schema: type: string - example: "341" - "$ref": "#/components/parameters/raw" - "$ref": "#/components/parameters/rawquery" - "$ref": "#/components/parameters/_source" @@ -79,6 +79,10 @@ paths: requestBody: content: application/json: + example: + ids: + - "341" + - "4591" schema: type: object properties: @@ -89,10 +93,6 @@ paths: type: array items: type: string - example: - ids: - - "341" - - "4591" responses: '200': description: "Success" @@ -143,9 +143,9 @@ paths: description: Query string. in: query required: true + example: "_id:6636" schema: type: string - example: "_id:6636" - "$ref": "#/components/parameters/aggs" - "$ref": "#/components/parameters/facet_size" - "$ref": "#/components/parameters/from" @@ -212,6 +212,12 @@ paths: requestBody: content: application/json: + example: + q: + - "341" + - "6636" + scopes: + - "_id" schema: type: object properties: @@ -229,12 +235,6 @@ paths: type: array items: type: string - example: - q: - - "341" - - "6636" - scopes: - - "_id" responses: '200': description: Success