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 15830f0 commit 0b9413dCopy full SHA for 0b9413d
src/core/zod-to-openapi.ts
@@ -15,6 +15,7 @@ export default function convertToOpenAPI(schema: ZodType<unknown>, isArray: bool
15
result.properties[propName] = {
16
type: "string",
17
format: "binary",
18
+ description: prop.description,
19
// contentEncoding: "base64", // swagger-ui-react doesn't support this
20
};
21
}
0 commit comments