Annotation Type DiscriminatorMapping

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Extension[] extensions
      The list of optional extensions
      Class<?> schema
      The schema that is being mapped to a property value
      String value
      The property value that will be mapped to a Schema
    • Element Detail

      • 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
      • extensions

        Extension[] extensions
        The list of optional extensions
        Returns:
        an optional array of extensions
        Since:
        2.2.12 / OpenAPI 3.1
        Default:
        {}