Closed Jafferwaffer closed 3 months ago
Since https://github.com/asteasolutions/zod-to-openapi/pull/71 it has been possible to support strict mode on Zod objects, however, I couldn't find this easily in the docs.
strict
Adding this to make it clear that by default additionalProperties will be set to true, as this may catch others out.
additionalProperties
true
Happy to reword, move docs about as required.
Thank you @Jafferwaffer
Since https://github.com/asteasolutions/zod-to-openapi/pull/71 it has been possible to support
strict
mode on Zod objects, however, I couldn't find this easily in the docs.Adding this to make it clear that by default
additionalProperties
will be set totrue
, as this may catch others out.Happy to reword, move docs about as required.