Annotation Interface ReadOnly


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface ReadOnly
Annotation to mark a JSON Schema property as read-only.
  • Optional Element Summary

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

    • value

      boolean value
      The read-only value of the property.
      Default:
      true