diff --git a/go-runtime/encoding/encoding.go b/go-runtime/encoding/encoding.go index f35098b008..32076e350f 100644 --- a/go-runtime/encoding/encoding.go +++ b/go-runtime/encoding/encoding.go @@ -319,7 +319,8 @@ func decodeStruct(d *json.Decoder, v reflect.Value) error { return strcase.ToLowerCamel(s) == key }) if !field.IsValid() { - return fmt.Errorf("no field corresponding to key %s", key) + // Issue #2117 #2119: ignore unknown fields + continue } fieldTypeStr := field.Type().String() switch {