You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -811,7 +811,7 @@ As an example `z.string().nullable()` will be rendered differently
811
811
- `prefixItems`mapping for OpenAPI 3.1.0+
812
812
- ZodUndefined
813
813
- ZodUnion
814
-
- By default it outputs an `allOf` schema. Use `unionOneOf` to change this to output `oneOf` instead.
814
+
- By default it outputs an `anyOf` schema. Use `unionOneOf` to change this to output `oneOf` instead.
815
815
- ZodUnknown
816
816
817
817
If this library cannot determine a type for a Zod Schema, it will throw an error. To avoid this, declare a manual `type` in the `.openapi()` section of that schema.
0 commit comments