aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/web/WebServer.java8
-rw-r--r--swagger.json29
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": [