Cleanup swagger & add examples for entries

This commit is contained in:
Zoe Roux
2025-03-01 15:22:01 +01:00
parent 5e0ba7f630
commit fb7635ef56
8 changed files with 55 additions and 19 deletions
+2 -2
View File
@@ -250,10 +250,10 @@ export const entriesH = new Elysia({ tags: ["series"] })
},
{
detail: { description: "Get extras of a serie" },
path: t.Object({
params: t.Object({
id: t.String({
description: "The id or slug of the serie.",
examples: [madeInAbyss.slug],
example: madeInAbyss.slug,
}),
}),
query: t.Object({