OpenAPI: Fix wrong option types

This commit is contained in:
Fuma Nama
2025-12-05 22:58:12 +08:00
parent a44dd47aee
commit 928cc25544
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-openapi': patch
---
Fix wrong option types
+1 -1
View File
@@ -81,7 +81,7 @@ export interface CreateAPIPageOptions {
ctx: RenderContext,
) => Awaitable<ReactNode>;
renderRequestTabs: (
renderRequestTabs?: (
items: ExampleRequestItem[],
ctx: RenderContext & {
route: string;