summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-14 19:23:45 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-14 19:23:45 +1100
commitf2f71cafdf1b50d60e06ab7535ddd41a0ea92915 (patch)
treeeec54f3a523d58bf32b0abd9f87a25f1152054b6
parentAdd /users/:id/delete (#926) (diff)
downloadserver-f2f71cafdf1b50d60e06ab7535ddd41a0ea92915.tar.xz
Update openapi
-rw-r--r--assets/openapi.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/assets/openapi.json b/assets/openapi.json
index e1d5cfa4..42a64baf 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -6813,6 +6813,43 @@
                     "-"
                 ]
             }
+        },
+        "/users/": {
+            "get": {
+                "x-right-required": "MANAGE_USERS",
+                "security": [
+                    {
+                        "bearer": true
+                    }
+                ],
+                "tags": [
+                    "users"
+                ]
+            }
+        },
+        "/users/{id}/delete/": {
+            "post": {
+                "x-right-required": "MANAGE_USERS",
+                "security": [
+                    {
+                        "bearer": true
+                    }
+                ],
+                "parameters": [
+                    {
+                        "name": "id",
+                        "in": "path",
+                        "required": true,
+                        "schema": {
+                            "type": "string"
+                        },
+                        "description": "id"
+                    }
+                ],
+                "tags": [
+                    "users"
+                ]
+            }
         }
     }
 }
\ No newline at end of file