Skip to content

Commit 0b9413d

Browse files
committed
fix: missing File description in convertToOpenAPI
1 parent 15830f0 commit 0b9413d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/zod-to-openapi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default function convertToOpenAPI(schema: ZodType<unknown>, isArray: bool
1515
result.properties[propName] = {
1616
type: "string",
1717
format: "binary",
18+
description: prop.description,
1819
// contentEncoding: "base64", // swagger-ui-react doesn't support this
1920
};
2021
}

0 commit comments

Comments
 (0)