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

fixed fiber middleware header issue

Open dani3lsf opened this issue 1 year ago • 3 comments

Fix for issue: https://github.com/deepmap/oapi-codegen/issues/1621

dani3lsf avatar Jun 04 '24 11:06 dani3lsf

@dani3lsf @alexandear is there any updates on this? It is impacting fiber generation for my headers

oliveromahony avatar Apr 04 '25 10:04 oliveromahony

@dani3lsf @alexandear is there any updates on this? It is impacting fiber generation for my headers

This PR requires a review from maintainers.

alexandear avatar May 12 '25 10:05 alexandear

Hey @dani3lsf @alexandear, The fix could be even simpler, because as it stated in fiber@v2 docs ctx.Get returns single header and it's string not slice type:

Get - Returns the HTTP request header specified by the field.

seth2810 avatar May 23 '25 07:05 seth2810