Work towards fixing openapi spec

This commit is contained in:
Madeline
2023-03-24 04:16:58 +11:00
parent 1fd01fa000
commit 0f928e479c
14 changed files with 8029 additions and 261 deletions
-10
View File
@@ -22,16 +22,6 @@ import { route } from "@fosscord/api";
const router: Router = Router();
export interface UserRelationsResponse {
object: {
id?: string;
username?: string;
avatar?: string;
discriminator?: string;
public_flags?: number;
};
}
router.get(
"/",
route({ test: { response: { body: "UserRelationsResponse" } } }),