docs(zod-openapi): fix tip block in readme (#774)
The `> [!TIP]` block is now formatted correctly, allowing correct display within GitHub.pull/778/head
parent
72c4bf652b
commit
75eef8790f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue