public enum ContractErrorType extends Enum<ContractErrorType>
Enum Constant and Description |
---|
INVALID_SPEC
Provided file is not a valid OpenAPI contract
|
UNSUPPORTED_FEATURE
You are trying to use an OpenAPI feature that is not supported.
|
UNSUPPORTED_SPEC
You are trying to use an OpenAPI contract within a version that is not supported.
|
Modifier and Type | Method and Description |
---|---|
static ContractErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContractErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContractErrorType INVALID_SPEC
public static final ContractErrorType UNSUPPORTED_SPEC
public static final ContractErrorType UNSUPPORTED_FEATURE
public static ContractErrorType[] values()
for (ContractErrorType c : ContractErrorType.values()) System.out.println(c);
public static ContractErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 Eclipse. All rights reserved.