<% module_namespacing_when_supported do -%>
module Types
  class <%= type_ruby_name.split('::')[-1] %> < Types::BaseUnion
<% if possible_types.any? %>    possible_types [<%= normalized_possible_types.join(", ") %>]
<% end %>  end
end
<% end -%>
