lib/fitting/cover/json_schema_enum.rb in fitting-2.17.0 vs lib/fitting/cover/json_schema_enum.rb in fitting-2.18.0
- old
+ new
@@ -22,10 +22,10 @@
combinations.push([schema.merge('enum' => [one_of[index]]), "enum.#{one_of[index]}"])
end
elsif value.is_a?(Hash)
com = inception(value, [])
com.each do |combination|
- combination[0] = { key => value.merge(combination[0])}
+ combination[0] = { key => value.merge(combination[0]) }
combination[1] = "#{key}.#{combination[1]}"
end
combinations += com
end
end