Looks like support for ZodReadonly was added to zod-openapi but not for zod-mock. The issue that I am running into is nearly identical to the issue that was resolved by the linked PR, except that it is in regards to the generateMock function instead of generateSchema.
Looks like support for ZodReadonly was added to zod-openapi but not for zod-mock. The issue that I am running into is nearly identical to the issue that was resolved by the linked PR, except that it is in regards to the
generateMock
function instead ofgenerateSchema
.