We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 390953b commit 9382e4bCopy full SHA for 9382e4b
1 file changed
express-zod-api/src/documentation-helpers.ts
@@ -112,6 +112,7 @@ export const depictBuffer: Depicter = ({ jsonSchema }) => ({
112
},
113
});
114
115
+/** @todo use def.discriminator instead */
116
export const depictUnion: Depicter = ({ zodSchema, jsonSchema }) => {
117
/** @since Zod 3.25.35, there was "disc" property before */
118
if (!zodSchema._zod.propValues) return jsonSchema;
0 commit comments