diff --git a/assets/openapi.json b/assets/openapi.json
index 9eed4bc..a602ea6 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -19602,7 +19602,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -24121,7 +24120,6 @@
"premium_usage_flags",
"public_flags",
"purchased_flags",
- "settings",
"username",
"verified"
]
@@ -24333,7 +24331,6 @@
"premium_usage_flags",
"public_flags",
"purchased_flags",
- "settings",
"username",
"verified"
]
@@ -28939,7 +28936,7 @@
]
}
},
- "/users/@me/applications/{app_id}/entitlements/": {
+ "/users/@me/applications/{application_id}/entitlements/": {
"get": {
"security": [
{
@@ -28953,13 +28950,13 @@
},
"parameters": [
{
- "name": "app_id",
+ "name": "application_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
- "description": "app_id"
+ "description": "application_id"
}
],
"tags": [
diff --git a/assets/schemas.json b/assets/schemas.json
index 663ebb8..4f1d2ca 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -30081,7 +30081,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -33115,7 +33114,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -37005,7 +37003,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -40570,7 +40567,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -44574,7 +44570,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -48194,7 +48189,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -51847,7 +51841,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -55740,7 +55733,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -59042,7 +59034,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -62812,7 +62803,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -64255,7 +64245,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -65937,7 +65926,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -68781,7 +68769,6 @@
"premium_usage_flags",
"public_flags",
"purchased_flags",
- "settings",
"username",
"verified"
],
@@ -70065,7 +70052,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -73090,7 +73076,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -73905,7 +73890,6 @@
"premium_usage_flags",
"public_flags",
"purchased_flags",
- "settings",
"username",
"verified"
],
@@ -74557,7 +74541,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -78404,7 +78387,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -81720,7 +81702,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -85246,7 +85227,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -88437,7 +88417,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -92168,7 +92147,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -95168,7 +95146,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -99355,7 +99332,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -102783,7 +102759,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -105720,7 +105695,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -109958,7 +109932,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
@@ -113397,7 +113370,6 @@
"rights",
"security_keys",
"sessions",
- "settings",
"system",
"username",
"verified",
diff --git "a/src/api/routes/users/@me/applications/\043app_id/entitlements.ts" "b/src/api/routes/users/@me/applications/\043app_id/entitlements.ts"
deleted file mode 100644
index f1f9a29..0000000
--- "a/src/api/routes/users/@me/applications/\043app_id/entitlements.ts"
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
- Copyright (C) 2023 Spacebar and Spacebar Contributors
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see .
-*/
-
-import { Request, Response, Router } from "express";
-import { route } from "@spacebar/api";
-
-const router: Router = Router({ mergeParams: true });
-
-router.get("/", route({}), async (req: Request, res: Response) => {
- //TODO
- res.json([]).status(200);
-});
-
-export default router;
diff --git "a/src/api/routes/users/@me/applications/\043application_id/entitlements.ts" "b/src/api/routes/users/@me/applications/\043application_id/entitlements.ts"
new file mode 100644
index 0000000..f1f9a29
--- /dev/null
+++ "b/src/api/routes/users/@me/applications/\043application_id/entitlements.ts"
@@ -0,0 +1,29 @@
+/*
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+import { Request, Response, Router } from "express";
+import { route } from "@spacebar/api";
+
+const router: Router = Router({ mergeParams: true });
+
+router.get("/", route({}), async (req: Request, res: Response) => {
+ //TODO
+ res.json([]).status(200);
+});
+
+export default router;