Follow-up to https://github.com/oapi-codegen/oapi-codegen/pull/1957
Follow-up to #1957