Enum Class SchemaFormat

java.lang.Object
java.lang.Enum<SchemaFormat>
io.github.springwolf.asyncapi.v3.model.schema.SchemaFormat
All Implemented Interfaces:
Serializable, Comparable<SchemaFormat>, Constable

public enum SchemaFormat extends Enum<SchemaFormat>
  • Enum Constant Details

    • DEFAULT

      public static final SchemaFormat DEFAULT
      This is the default when a schemaFormat is not provided.
    • ASYNCAPI_V3

      public static final SchemaFormat ASYNCAPI_V3
    • ASYNCAPI_V3_JSON

      public static final SchemaFormat ASYNCAPI_V3_JSON
    • ASYNCAPI_V3_YAML

      public static final SchemaFormat ASYNCAPI_V3_YAML
    • JSON_SCHEMA_JSON

      public static final SchemaFormat JSON_SCHEMA_JSON
    • JSON_SCHEMA_YAML

      public static final SchemaFormat JSON_SCHEMA_YAML
    • AVRO_V1_9_0

      public static final SchemaFormat AVRO_V1_9_0
    • RAML_V1

      public static final SchemaFormat RAML_V1
    • PROTOBUF_V2

      public static final SchemaFormat PROTOBUF_V2
    • PROTOBUF_V3

      public static final SchemaFormat PROTOBUF_V3
  • Field Details

    • value

      public final String value
  • Method Details

    • values

      public static SchemaFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SchemaFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SchemaFormat>