summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2015-09-21 22:59:56 +0200
committerrautenberg <rautenberg@in-silico.ch>2015-09-21 22:59:56 +0200
commit890103363e6b07433585bb7d526d499c7b6c61ad (patch)
tree15d1a6db7cd08f05b52dff6abb5eadb098ea3f4b /api
parent7905583c8c936ff9c744f48238d3d419b0438f8d (diff)
clean API
Diffstat (limited to 'api')
-rw-r--r--api/api.json9
1 files changed, 4 insertions, 5 deletions
diff --git a/api/api.json b/api/api.json
index 095b570..d29ddef 100644
--- a/api/api.json
+++ b/api/api.json
@@ -112,7 +112,7 @@
{
"name": "Content-Type",
"in": "header",
- "description": "body Content-Type",
+ "description": "Content-Type",
"required": true,
"type": "string",
"enum": [
@@ -121,11 +121,10 @@
},
{
"name": "identifier",
- "in": "body",
+ "in": "header",
+ "description": "SMILES identifier",
"required": true,
- "schema": {
- "type": "string"
- }
+ "type": "string"
},
{
"$ref": "#/parameters/modelid"