Enum ValidatorErrorType

java.lang.Object
java.lang.Enum<ValidatorErrorType>
io.vertx.openapi.validation.ValidatorErrorType
All Implemented Interfaces:
Serializable, Comparable<ValidatorErrorType>

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

    • MISSING_REQUIRED_PARAMETER

      public static final ValidatorErrorType MISSING_REQUIRED_PARAMETER
      A required parameter was not part of the request or response
    • INVALID_VALUE_FORMAT

      public static final ValidatorErrorType INVALID_VALUE_FORMAT
      The format of the related value does not fit to the expected Style
    • UNSUPPORTED_VALUE_FORMAT

      public static final ValidatorErrorType UNSUPPORTED_VALUE_FORMAT
      The format of the related value is not yet supported.
    • ILLEGAL_VALUE

      public static final ValidatorErrorType ILLEGAL_VALUE
      The value of the related parameter can't be decoded.
    • INVALID_VALUE

      public static final ValidatorErrorType INVALID_VALUE
      The value of the related parameter does not fit to the schema.
    • MISSING_OPERATION

      public static final ValidatorErrorType MISSING_OPERATION
      The request can't get validated due to missing operation information.
    • MISSING_RESPONSE

      public static final ValidatorErrorType MISSING_RESPONSE
      The response can't get validated due to missing response definition for the related status code information.
    • UNSUPPORTED_TRANSFORMATION

      public static final ValidatorErrorType UNSUPPORTED_TRANSFORMATION
      Transformation to the chosen output format is not supported.
  • Method Details

    • values

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

      public static ValidatorErrorType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null