From 37890374012e44a2ed208f8f34004d66f459a184 Mon Sep 17 00:00:00 2001 From: Sacramentix <35272156+Sacramentix@users.noreply.github.com> Date: Sun, 4 Feb 2024 22:36:50 +0100 Subject: [PATCH] opanapi -> openapi (#378) --- packages/zod-openapi/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zod-openapi/README.md b/packages/zod-openapi/README.md index f5222ae4..dd232b03 100644 --- a/packages/zod-openapi/README.md +++ b/packages/zod-openapi/README.md @@ -53,7 +53,7 @@ const UserSchema = z > [!TIP] > `UserSchema` schema will be registered as `"#/components/schemas/User"` refs in the OpenAPI document. -> If you want to register the schema as referenced components, use `.opanapi()` method. +> If you want to register the schema as referenced components, use `.openapi()` method. Next, create a route: