diff --git a/swagger-pcmaweb.json b/swagger-pcmaweb.json index e7194b590ce2b527c3ad2d11bca942c15378c704..5975f7bcd1bcc58187cbb3f9a86881aa693c9610 100644 --- a/swagger-pcmaweb.json +++ b/swagger-pcmaweb.json @@ -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" + } } } } diff --git a/swagger-pcmaweb.yaml b/swagger-pcmaweb.yaml index 9207b252f1e9277da3371aaea2297c821a8a795c..0ebb4c730d201c8be3e45627341c2b8184e3b664 100644 --- a/swagger-pcmaweb.yaml +++ b/swagger-pcmaweb.yaml @@ -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: |