oapi-codegen
oapi-codegen copied to clipboard
fixed fiber middleware header issue
Fix for issue: https://github.com/deepmap/oapi-codegen/issues/1621
@dani3lsf @alexandear is there any updates on this? It is impacting fiber generation for my headers
@dani3lsf @alexandear is there any updates on this? It is impacting fiber generation for my headers
This PR requires a review from maintainers.
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.