diff options
author | gebele <gebele@in-silico.ch> | 2018-01-30 14:11:56 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2018-01-30 14:11:56 +0000 |
commit | 63ca78ca7a2e60b080ae58667ebe9a4f245e409e (patch) | |
tree | 5846445ef945308502c3d3e7a0d7de1887680118 | |
parent | b5f557b3c0c2b4a7b39720c4f345e8514a61fbe6 (diff) |
changed input type from array to string to fix array of descriptors form data issue
-rw-r--r-- | api/api.json | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/api/api.json b/api/api.json index 7777f1e..23dd1cc 100644 --- a/api/api.json +++ b/api/api.json @@ -709,7 +709,7 @@ "descriptor" ], "summary": "Descriptor calculation", - "description": "Calculate descriptors for a single compound as SMILES string <br> <strong>curl example:</strong> <pre>curl -Lk -X POST -i -H \"Accept:application/json\" -F \"identifier=O=C1NC(=O)NC=C1\" -F \"descriptor=Openbabel.MW,JoeLib.LogP\" https://api.in-silico.ch/compound/descriptor </pre>.", + "description": "Calculate descriptors for a single compound as SMILES string <br> <strong>curl example:</strong> <pre>curl -Lk -X POST -i -H \"Accept:application/json\" -F \"identifier=O=C1NC(=O)NC=C1\" -F \"descriptor=Openbabel.MW,Openbabel.atoms\" https://api.in-silico.ch/compound/descriptor </pre>.", "consumes": [ "multipart/form-data" ], @@ -724,12 +724,9 @@ { "name": "descriptor", "in": "formData", - "description": "array of descriptors", + "description": "list of comma seperated descriptors", "required": true, - "type": "array", - "items": { - "type": "string" - } + "type": "string" }, { "$ref": "#/parameters/subjectid" |