diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-31 07:05:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-31 07:05:21 -0700 |
commit | c2dad387cb769284b279d8f0738a3f5b04c7819b (patch) | |
tree | f127a42dc92f3c6498155f40d2206f31229ddb8d | |
parent | c8ff1f5259b497be7da8d104fee993d14b27032d (diff) | |
download | trackermap-server-c2dad387cb769284b279d8f0738a3f5b04c7819b.tar.gz trackermap-server-c2dad387cb769284b279d8f0738a3f5b04c7819b.tar.bz2 trackermap-server-c2dad387cb769284b279d8f0738a3f5b04c7819b.zip |
Fix API docs
-rw-r--r-- | swagger.json | 10 |
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", |