Annotation Type Keyword


@Retention(RUNTIME) @Target(METHOD) public @interface Keyword
  • Element Details

    • name

      String name
      Returns:
      the name of this keyword. If not specified the method name is used as keyword name
      Default:
      ""
    • properties

      String[] properties
      Returns:
      the list of properties required by this keyword
      Default:
      {}
    • optionalProperties

      String[] optionalProperties
      Returns:
      the list of optional properties which might be used by this keyword
      Default:
      {}
    • schema

      String schema
      Returns:
      the JSON schema of the input object.
      See Also:
      Default:
      ""