public static @Nullable String getTypeDescription(@NotNull JsonSchemaObject schemaObject, boolean shortDesc) {
    JsonSchemaType type = schemaObject.getType();
    if (type != null) return type.getDescription();

    Set<JsonSchemaType> possibleTypes = schemaObject.getTypeVariants();

    String description = getTypesDescription(shortDesc, possibleTypes);
    if (description != null) return description;

    List<Object> anEnum = schemaObject.getEnum();
    if (anEnum != null) {
      return shortDesc ? "enum" : anEnum.stream().map(o -> o.toString()).collect(Collectors.joining(" | "));
    }

    JsonSchemaType guessedType = guessType(schemaObject);
    if (guessedType != null) {
      return guessedType.getDescription();
    }

    return null;
  }
public static @Nullable String getTypeDescription(@NotNull JsonSchemaObject schemaObject, boolean shortDesc)