v1.12.2
版本发布时间: 2022-10-29 08:43:18
oapi-codegen/oapi-codegen最新发布版本:v2.3.0(2024-06-07 05:00:34)
v1.12.0 introduced a File
type which intercepts schemas of type:string, format:binary
, but it incorrectly implemented the json.Marshaler
interface and was lacking tests to catch the problem. This version fixes the marshaling of fields of that type.
Prior versions of oapi-codegen turned those into a []byte
, and you can still annotate your spec with x-go-type
if you need []byte