Skip to content

Commit

Permalink
🐛 make id params required
Browse files Browse the repository at this point in the history
  • Loading branch information
w3cj committed Oct 6, 2024
1 parent 0d6d7b6 commit 37f48e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stoker",
"type": "module",
"version": "1.0.8",
"version": "1.0.9",
"packageManager": "[email protected]",
"description": "Utilities for hono and @hono/zod-openapi",
"author": "w3cj <[email protected]>",
Expand Down
1 change: 1 addition & 0 deletions src/openapi/schemas/id-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const IdParamsSchema = z.object({
name: "id",
in: "path",
},
required: ["id"],
example: 42,
}),
});
Expand Down

0 comments on commit 37f48e6

Please sign in to comment.