Skip to content

Commit

Permalink
Fix json syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
espebra committed Jun 22, 2020
1 parent 3e71f87 commit 2cb516e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions templates/apispec.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"in": "path",
"description": "The bin to download from.",
"required": true,
"type": "string",
"type": "string"
},
{
"name": "filename",
"in": "path",
"description": "The filename of the file to download from the bin specified.",
"required": true,
"type": "string",
},
"type": "string"
}
],
"responses": {
"200": {
Expand All @@ -51,15 +51,15 @@
"in": "path",
"description": "The bin to delete from.",
"required": true,
"type": "string",
"type": "string"
},
{
"name": "filename",
"in": "path",
"description": "The filename of the file to delete.",
"required": true,
"type": "string",
},
"type": "string"
}
],
"responses": {
"200": {
Expand All @@ -83,20 +83,20 @@
"in": "header",
"name": "bin",
"description": "The bin to upload the file to",
"required": true,
"required": true
},
{
"in": "header",
"name": "filename",
"description": "The filename of the file to upload",
"required": true,
"required": true
},
{
"in": "body",
"name": "body",
"description": "Content of the file to be uploaded",
"required": true,
},
"required": true
}
],
"responses": {
"201": {
Expand All @@ -121,11 +121,11 @@
"in": "path",
"description": "The bin to show.",
"required": true,
"type": "string",
"type": "string"
}
],
"produces": [
"application/json",
"application/json"
],
"responses": {
"200": {
Expand All @@ -148,7 +148,7 @@
"in": "path",
"description": "The bin to lock.",
"required": true,
"type": "string",
"type": "string"
}
],
"responses": {
Expand All @@ -172,7 +172,7 @@
"in": "path",
"description": "The bin to delete.",
"required": true,
"type": "string",
"type": "string"
}
],
"responses": {
Expand All @@ -183,7 +183,7 @@
"description": "The bin does not exist or is not available"
}
}
},
}
}
}
}
Expand Down

0 comments on commit 2cb516e

Please sign in to comment.