summary refs log tree commit diff
path: root/src/api/routes/gateway
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-24 04:16:58 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-24 04:16:58 +1100
commit0f928e479cbd81b17710da5dad14a092f23cdf0d (patch)
treed885d84ba47d601c4ba064e1cf47d1369198c617 /src/api/routes/gateway
parentMerge branch 'master' of github.com:fosscord/fosscord-server (diff)
downloadserver-0f928e479cbd81b17710da5dad14a092f23cdf0d.tar.xz
Work towards fixing openapi spec
Diffstat (limited to 'src/api/routes/gateway')
-rw-r--r--src/api/routes/gateway/bot.ts11
-rw-r--r--src/api/routes/gateway/index.ts4
2 files changed, 0 insertions, 15 deletions
diff --git a/src/api/routes/gateway/bot.ts b/src/api/routes/gateway/bot.ts
index 070debe3..02049b19 100644
--- a/src/api/routes/gateway/bot.ts
+++ b/src/api/routes/gateway/bot.ts
@@ -22,17 +22,6 @@ import { route, RouteOptions } from "@fosscord/api";
 
 const router = Router();
 
-export interface GatewayBotResponse {
-	url: string;
-	shards: number;
-	session_start_limit: {
-		total: number;
-		remaining: number;
-		reset_after: number;
-		max_concurrency: number;
-	};
-}
-
 const options: RouteOptions = {
 	test: {
 		response: {
diff --git a/src/api/routes/gateway/index.ts b/src/api/routes/gateway/index.ts
index e6fcf5e3..f5ed4c1f 100644
--- a/src/api/routes/gateway/index.ts
+++ b/src/api/routes/gateway/index.ts
@@ -22,10 +22,6 @@ import { route, RouteOptions } from "@fosscord/api";
 
 const router = Router();
 
-export interface GatewayResponse {
-	url: string;
-}
-
 const options: RouteOptions = {
 	test: {
 		response: {