Skip to content
Snippets Groups Projects
Commit 80baa9c0 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

minor corrections to swagger files

parent 78b59027
No related branches found
No related tags found
No related merge requests found
......@@ -57,19 +57,23 @@
}
},
"get": {
"description": "Gets `Person` objects.\nOptional query param of **size** determines\nsize of returned array\n",
"description": "Gets `Project` characteristics (listed phenotypes).\n",
"responses": {
"200": {
"description": "Retrieved project",
"schema": {
"title": "Phenotype",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
"title": "ArrayOfPhenotypes",
"type": "array",
"items": {
"title": "Phenotype",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
}
}
}
}
......
......@@ -43,20 +43,21 @@ paths:
type: string
get:
description: |
Gets `Person` objects.
Optional query param of **size** determines
size of returned array
Gets `Project` characteristics (listed phenotypes).
responses:
200:
description: Retrieved project
schema:
title: Phenotype
type: object
properties:
id:
type: string
label:
type: string
title: ArrayOfPhenotypes
type: array
items:
title: Phenotype
type: object
properties:
id:
type: string
label:
type: string
/projects/{projectID}:
get:
description: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment