I'm not sure if doing this as a PR (for illustration purposes) _and_ as an Issue is considered double-dipping, so please forgive if this is overkill. https://github.com/oapi-codegen/oapi-codegen/pull/2087