You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: reflect: call of reflect.Value.Interface on zero Value
...
github.com/oapi-codegen/runtime/bindform.go:316
well, since the generated server code works fine with just skipping the property from body, and since there's no common way to encode nil in formdata, I bet this may be skipped in runtime encoder
The text was updated successfully, but these errors were encountered:
kin-openapi (through github.com/oapi-codegen/gin-middleware) and oapi-codegen treat nullable fields differently:
nullable: true
required
listin result, the openapi component looks like
the field is generated in following way
and generated client panics on nil value
well, since the generated server code works fine with just skipping the property from body, and since there's no common way to encode
nil
in formdata, I bet this may be skipped in runtime encoderThe text was updated successfully, but these errors were encountered: