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

Non-required header in the GIN strict server.

Open ShouheiNishi opened this issue 2 years ago • 2 comments

In GIN strict server, there seems to be no way to stop sending non-required headers in the response definition.

ShouheiNishi avatar Oct 04 '23 04:10 ShouheiNishi

Is there a reason #1412 was never reviewed? Confirmed that this is still a problem.

wc9384 avatar Nov 12 '25 23:11 wc9384

I would also love to see this merged. Omitting null response headers is needed for my usecase.

rezass avatar Dec 04 '25 16:12 rezass