class SoberSwag::Nodes::Sum

A “Sum” type represents either one type or the other.

It is called “Sum” because, if a type can be either type `A` or type `B`, the number of possible values for the type of `number_of_values(A) + number_of_values(B)`.

Internally, this is primarily used when an object can be either one type or another. It will latter be flattened into {SoberSwag::Nodes::OneOf}