Annotation Interface JsonSchema.Object.AdditionalProperties

Enclosing class:
JsonSchema.Object

@Target({METHOD,TYPE,FIELD}) @Retention(CLASS) public static @interface JsonSchema.Object.AdditionalProperties
Whether to allow additional properties. When disabled, only explicitly mentioned properties in the properties JSON property will be allowed.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to allow all JSON properties.
  • Element Details

    • value

      boolean value
      Whether to allow all JSON properties. The default value is true.
      Returns:
      whether to allow all JSON properties
      Default:
      true