aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-31 07:05:21 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-31 07:05:21 -0700
commitc2dad387cb769284b279d8f0738a3f5b04c7819b (patch)
treef127a42dc92f3c6498155f40d2206f31229ddb8d
parentc8ff1f5259b497be7da8d104fee993d14b27032d (diff)
downloadtrackermap-server-c2dad387cb769284b279d8f0738a3f5b04c7819b.tar.gz
trackermap-server-c2dad387cb769284b279d8f0738a3f5b04c7819b.tar.bz2
trackermap-server-c2dad387cb769284b279d8f0738a3f5b04c7819b.zip
Fix API docs
-rw-r--r--swagger.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/swagger.json b/swagger.json
index 24da5e8cd..6c1e21d28 100644
--- a/swagger.json
+++ b/swagger.json
@@ -780,6 +780,16 @@
"tags": [
"Permissions"
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Permission"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"204": {
"description": "No Content",