Skip to content

Commit

Permalink
ebi gene2pheno: try moving examples
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenXu committed Apr 28, 2022
1 parent 8e26f70 commit 89095ba
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions EBIgene2phenotype/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -79,6 +79,10 @@ paths:
requestBody:
content:
application/json:
example:
ids:
- "341"
- "4591"
schema:
type: object
properties:
Expand All @@ -89,10 +93,6 @@ paths:
type: array
items:
type: string
example:
ids:
- "341"
- "4591"
responses:
'200':
description: "Success"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -212,6 +212,12 @@ paths:
requestBody:
content:
application/json:
example:
q:
- "341"
- "6636"
scopes:
- "_id"
schema:
type: object
properties:
Expand All @@ -229,12 +235,6 @@ paths:
type: array
items:
type: string
example:
q:
- "341"
- "6636"
scopes:
- "_id"
responses:
'200':
description: Success
Expand Down

0 comments on commit 89095ba

Please sign in to comment.