Skip to content

The ZodObject at ... and contains an input transformation (ZodDefault) defined at ... which is also used in an output schema. #379

Answered by RonB
RonB asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, the problem ws that i cannot add the openapi({effectType: "same"}) to the base schema.
After adding the same schema with .openapi({effectType: "same"}) not to the base but to the schema components it works.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@RonB
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by RonB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants