Skip to content

Commit

Permalink
docs(zod-openapi): fix tip block in readme (#774)
Browse files Browse the repository at this point in the history
The `> [!TIP]` block is now formatted correctly, allowing correct display within GitHub.
  • Loading branch information
yamcodes authored Oct 11, 2024
1 parent 72c4bf6 commit 75eef87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/zod-openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 75eef87

Please sign in to comment.