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: