oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

Optional response header

Open ShouheiNishi opened this issue 2 years ago • 0 comments

To fix issue #1301, when header is optional, field for this is generate as pointer type. When this field is nil, corresponding header is not set in functions Visit*. However, this change introduce some incompatibility. So we add compatibility option.

And this PR included PR #1411.

ShouheiNishi avatar Dec 28 '23 04:12 ShouheiNishi