Skip to content

Commit 19ccf5f

Browse files
committed
upd
1 parent 77eb6d8 commit 19ccf5f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/moebooru/mod.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,12 @@ const limitQueryParam = doc.addParameter('Limit', 'query', 'limit', (t) => {
2323
})
2424
const pageQueryParam = doc.addParameter('Page', 'query', 'page', (t) => t.schema(page))
2525
const tagsQueryParam = doc.addParameter('Tags', 'query', 'tags', (t) => {
26+
t.explode(false)
2627
t.style('spaceDelimited')
2728
t.schema(z.string().or(z.string().array()))
28-
// .example('No tags', (t) => t.value(''))
29+
.example('No tags', (t) => t.value(''))
2930
.example('Post by ID', (t) => t.value('id:3,1252961'))
3031
.example('Post by MD5', (t) => t.value('md5:04399f2ed1c932d9bb8f848bf995f1f7'))
31-
// .example('Daily top', (t) => t.value('order:rank'))
32-
// .example('Weekly top by score', (t) => t.value('order:score is:sfw age:<7d'))
33-
// .example('Weekly top by favorites', (t) => t.value('order:favcount is:sfw age:<7d'))
34-
// .example('Saved searches', (t) => t.value('search:all'))
3532
})
3633

3734
// --- Posts ---

0 commit comments

Comments
 (0)