aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2016-12-06 02:46:32 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2016-12-06 02:46:32 +0530
commit3776bd31240936f47e8790fbb8e1794d74feb19d (patch)
treed2281b5828a96d181aeb4013c6c56b70a858c3e3
parent0e47bd14846de72381179734daf402267abb694f (diff)
downloadtrackermap-server-3776bd31240936f47e8790fbb8e1794d74feb19d.tar.gz
trackermap-server-3776bd31240936f47e8790fbb8e1794d74feb19d.tar.bz2
trackermap-server-3776bd31240936f47e8790fbb8e1794d74feb19d.zip
[swagger] Fix typos and incorrect entries
-rw-r--r--swagger.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/swagger.json b/swagger.json
index 0d887d97c..2d9e0ef3d 100644
--- a/swagger.json
+++ b/swagger.json
@@ -17,8 +17,8 @@
],
"paths": {
"/commands": {
- "summary": "Dispatch commands to device",
"post": {
+ "summary": "Dispatch commands to device",
"parameters": [
{
"name": "body",
@@ -37,7 +37,7 @@
}
},
"400": {
- "description": "Could happen when dispatching to the device is offline, the user doesn't have permission or an incorrect command _type_."
+ "description": "Could happen when dispatching to a device that is offline, the user doesn't have permission or an incorrect command _type_ for the device"
}
}
}