aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-31 06:54:23 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-31 06:54:30 -0700
commitc8ff1f5259b497be7da8d104fee993d14b27032d (patch)
treec41b9ce6ba335b7cfb22984bfacf6e101f8cac28 /swagger.json
parent0d1fedefc2673c8c0b7d78c102225f8660d336aa (diff)
downloadtrackermap-server-c8ff1f5259b497be7da8d104fee993d14b27032d.tar.gz
trackermap-server-c8ff1f5259b497be7da8d104fee993d14b27032d.tar.bz2
trackermap-server-c8ff1f5259b497be7da8d104fee993d14b27032d.zip
Update API documentation
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json22
1 files changed, 3 insertions, 19 deletions
diff --git a/swagger.json b/swagger.json
index 229296c1a..24da5e8cd 100644
--- a/swagger.json
+++ b/swagger.json
@@ -764,15 +764,9 @@
"required": true
},
"responses": {
- "200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Permission"
- }
- }
- }
+ "204": {
+ "description": "No Content",
+ "content": {}
},
"400": {
"description": "No permission",
@@ -786,16 +780,6 @@
"tags": [
"Permissions"
],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Permission"
- }
- }
- },
- "required": true
- },
"responses": {
"204": {
"description": "No Content",