oapi-codegen
oapi-codegen copied to clipboard
Support encoding.TextUnmarshaler to bind query params
Path parameters now supports encoding.TextUnmarshaler interface. https://github.com/deepmap/oapi-codegen/pull/404
Query parameters do not.
I changed to call UnmarshalText instead of reflect.Set if the destination type implements encoding.TextUnmarshaler