Annotation Interface UniqueItems


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface UniqueItems
Annotation to mark a JSON Schema array-items as unique.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    The unique-items value of the property.
  • Element Details

    • value

      boolean value
      The unique-items value of the property.
      Default:
      true