refactor: 📝 Move documentation to a custom VitePress site

This commit is contained in:
Jesse Wierzbinski 2024-11-10 15:24:34 +01:00
parent 19d8680289
commit 06a8dd1c0a
No known key found for this signature in database
26 changed files with 1449 additions and 775 deletions

View file

@ -73,8 +73,8 @@ const route = createRoute({
},
},
responses: {
200: {
description: "uploaded emoji",
201: {
description: "Uploaded emoji",
content: {
"application/json": {
schema: Emoji.schema,
@ -173,6 +173,6 @@ export default apiRoute((app) =>
alt,
});
return context.json(emoji.toApi(), 200);
return context.json(emoji.toApi(), 201);
}),
);