Enum Class SpringAiSchemaModule.Option

java.lang.Object
java.lang.Enum<SpringAiSchemaModule.Option>
org.springframework.ai.util.json.schema.SpringAiSchemaModule.Option
All Implemented Interfaces:
Serializable, Comparable<SpringAiSchemaModule.Option>, Constable
Enclosing class:
SpringAiSchemaModule

public static enum SpringAiSchemaModule.Option extends Enum<SpringAiSchemaModule.Option>
Options for customizing the behavior of the module.
  • Enum Constant Details

    • PROPERTY_REQUIRED_FALSE_BY_DEFAULT

      public static final SpringAiSchemaModule.Option PROPERTY_REQUIRED_FALSE_BY_DEFAULT
      Properties are only required if marked as such via one of the supported annotations.
  • Method Details

    • values

      public static SpringAiSchemaModule.Option[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SpringAiSchemaModule.Option valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null