class Dry::Schema::Message::Or::MultiPath

def to_h

Other tags:
    Api: - public
def to_h
  @to_h ||= Path[[*root, :or]].to_h(messages.map(&:to_h))
end