Annotation Interface DiscriminatorMapping


@Target({}) @Retention(RUNTIME) @Inherited public @interface DiscriminatorMapping
This object maps payload values to a particular Schema.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The schema that is being mapped to a property value
    The property value that will be mapped to a Schema
  • Element Details

    • value

      String value
      The property value that will be mapped to a Schema
      Returns:
      the property value
      Default:
      ""
    • schema

      Class<?> schema
      The schema that is being mapped to a property value
      Returns:
      the Schema reference
      Default:
      java.lang.Void.class