diff options
Diffstat (limited to 'packages/open-api/lib')
| -rw-r--r-- | packages/open-api/lib/bookmarks.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/open-api/lib/bookmarks.ts b/packages/open-api/lib/bookmarks.ts index d49a20ff..0a3806b9 100644 --- a/packages/open-api/lib/bookmarks.ts +++ b/packages/open-api/lib/bookmarks.ts @@ -6,6 +6,7 @@ import { z } from "zod"; import { zAssetSchema, + zAssetTypesSchema, zBareBookmarkSchema, zManipulatedTagSchema, zNewBookmarkRequestSchema, @@ -418,7 +419,10 @@ registry.registerPath({ description: "The asset to attach", content: { "application/json": { - schema: zAssetSchema, + schema: z.object({ + id: z.string(), + assetType: zAssetTypesSchema, + }), }, }, }, |
