From 75eef8790f5760b423dbd10bd60aa3a59c481427 Mon Sep 17 00:00:00 2001 From: Yam Borodetsky Date: Fri, 11 Oct 2024 12:34:25 +0500 Subject: [PATCH] docs(zod-openapi): fix tip block in readme (#774) The `> [!TIP]` block is now formatted correctly, allowing correct display within GitHub. --- packages/zod-openapi/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/zod-openapi/README.md b/packages/zod-openapi/README.md index d4dbb0bc..01710934 100644 --- a/packages/zod-openapi/README.md +++ b/packages/zod-openapi/README.md @@ -51,7 +51,8 @@ const UserSchema = z .openapi('User') ``` -> [!TIP] > `UserSchema` schema will be registered as `"#/components/schemas/User"` refs in the OpenAPI document. +> [!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 `.openapi()` method. Next, create a route: