aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2017-02-12 05:01:46 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2017-02-12 05:01:46 +0530
commitb1f40290839aab44ece75e8ffdf012593090badb (patch)
treec2d895cc258721e2f3ffb3416e4b0a47d41f7039
parentebc2ec28d63be9e1533f8b55c28080c885884c53 (diff)
downloadtraccar-server-b1f40290839aab44ece75e8ffdf012593090badb.tar.gz
traccar-server-b1f40290839aab44ece75e8ffdf012593090badb.tar.bz2
traccar-server-b1f40290839aab44ece75e8ffdf012593090badb.zip
[swagger] Fix incorrect params in /session
-rw-r--r--swagger.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/swagger.json b/swagger.json
index f2647ef84..47728d8ed 100644
--- a/swagger.json
+++ b/swagger.json
@@ -540,7 +540,7 @@
}
}
},
- "/session/{token}": {
+ "/session": {
"get": {
"summary": "Fetch Session information",
"consumes": [
@@ -549,7 +549,7 @@
"parameters": [
{
"name": "token",
- "in": "path",
+ "in": "query",
"required": false,
"type": "string"
}