private static List<EnumValueInfo> toEnumValues(Class<? extends Enum<?>> enumType) {
        final Class<?> rawEnumType = requireNonNull(enumType, "enumType");
        @SuppressWarnings({ "unchecked", "rawtypes" })
        final Set<Enum> values = EnumSet.allOf((Class<Enum>) rawEnumType);
        return values.stream().map(e -> new EnumValueInfo(e.name())).collect(toImmutableList());
    }
Returns a new {@link EnumInfo} with the specified {@link DescriptionInfo}.
Returns {@code this} if this {@link EnumInfo} has the same {@link DescriptionInfo}.
core/src/main/java/com/linecorp/armeria/server/docs/EnumInfo.java