docs(zod-openapi): fix tip block in readme (#774)

The `> [!TIP]` block is now formatted correctly, allowing correct display within GitHub.
pull/778/head
Yam Borodetsky 2024-10-11 12:34:25 +05:00 committed by GitHub
parent 72c4bf652b
commit 75eef8790f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ const UserSchema = z
.openapi('User') .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. > If you want to register the schema as referenced components, use `.openapi()` method.
Next, create a route: Next, create a route: