Closed trim21 closed 1 week ago
golang's json package will encode and decode []byte to base64 string.
[]byte
So I think we should generate schcma {"format":"base64","type":"string"} for []byte
{"format":"base64","type":"string"}
Thank you for this PR, I've noticed it a bit too late, after I made https://github.com/swaggest/jsonschema-go/pull/119.
Please try latest version v0.3.71.
v0.3.71
golang's json package will encode and decode
[]byte
to base64 string.So I think we should generate schcma
{"format":"base64","type":"string"}
for[]byte