summary refs log tree commit diff
path: root/assets/openapi.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-25 19:24:00 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-25 19:24:00 +1100
commitb272c56d1a3dd84fcbbd27db1bf61a03c3b3ca5d (patch)
tree64a559339de1ea93f55001f594165a503662ff79 /assets/openapi.json
parentMerge branch 'master' of github.com:fosscord/fosscord-server (diff)
downloadserver-b272c56d1a3dd84fcbbd27db1bf61a03c3b3ca5d.tar.xz
Ajv and openapi spec use different versions of typescript json schema??????
Diffstat (limited to 'assets/openapi.json')
-rw-r--r--assets/openapi.json14
1 files changed, 6 insertions, 8 deletions
diff --git a/assets/openapi.json b/assets/openapi.json
index 069eaced..7e1f3cac 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -20,15 +20,13 @@
         }
     },
     "components": {
-        "securitySchemes": [
-            {
-                "bearer": {
-                    "type": "http",
-                    "scheme": "bearer",
-                    "description": "Bearer/Bot prefixes are not required."
-                }
+        "securitySchemes": {
+            "bearer": {
+                "type": "http",
+                "scheme": "bearer",
+                "description": "Bearer/Bot prefixes are not required."
             }
-        ],
+        },
         "schemas": {
             "SelectProtocolSchema": {
                 "type": "object",