diff options
author | Hans van den Elsen <hans.elsen@esds.nl> | 2016-02-12 13:22:16 +0100 |
---|---|---|
committer | Hans van den Elsen <hans.elsen@esds.nl> | 2016-02-12 13:22:16 +0100 |
commit | 5a4562f8e53e4e00a610c9715786f70a743067b5 (patch) | |
tree | 5b6480c2d558b0df60777994c588357af4a0cccc | |
parent | b0d7abf2d91429eac8e4ae8d5b96cdf3853dae2e (diff) | |
download | trackermap-server-5a4562f8e53e4e00a610c9715786f70a743067b5.tar.gz trackermap-server-5a4562f8e53e4e00a610c9715786f70a743067b5.tar.bz2 trackermap-server-5a4562f8e53e4e00a610c9715786f70a743067b5.zip |
Reverted customizations for own API
-rw-r--r-- | src/org/traccar/web/WebServer.java | 8 | ||||
-rw-r--r-- | swagger.json | 29 |
2 files changed, 7 insertions, 30 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java index 7c842b2d2..d6cd19d87 100644 --- a/src/org/traccar/web/WebServer.java +++ b/src/org/traccar/web/WebServer.java @@ -40,7 +40,13 @@ import org.traccar.api.CorsResponseFilter; import org.traccar.api.ObjectMapperProvider; import org.traccar.api.ResourceErrorHandler; import org.traccar.api.SecurityRequestFilter; -import org.traccar.api.resource.*; +import org.traccar.api.resource.CommandResource; +import org.traccar.api.resource.DeviceResource; +import org.traccar.api.resource.PermissionResource; +import org.traccar.api.resource.PositionResource; +import org.traccar.api.resource.ServerResource; +import org.traccar.api.resource.SessionResource; +import org.traccar.api.resource.UserResource; import org.traccar.helper.Log; public class WebServer { diff --git a/swagger.json b/swagger.json index 46998c340..f8269a2da 100644 --- a/swagger.json +++ b/swagger.json @@ -10,35 +10,6 @@ "http" ], "paths": { - "/sos": { - "post": { - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Command" - } - } - ], - "responses": { - "200": { - "description": "OK", - "headers": {}, - "schema": { - "$ref": "#/definitions/Command" - } - } - } - } - }, "/commands": { "post": { "consumes": [ |