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

For outType = "interface{}" outSchema.SkipOptionalPointer = true is missing

Open jens1205 opened this issue 3 years ago • 0 comments

For non required objects without a type, as a fallback interface{} is used. But this will later be translated to *interface{} which makes no sense.

At lease for interface{}, the optional pointer should be skipped.

jens1205 avatar Jun 03 '22 19:06 jens1205