Package org.mockserver.openapi
Enum OpenApiResiliencyTest.MutationType
- java.lang.Object
-
- java.lang.Enum<OpenApiResiliencyTest.MutationType>
-
- org.mockserver.openapi.OpenApiResiliencyTest.MutationType
-
- All Implemented Interfaces:
Serializable,Comparable<OpenApiResiliencyTest.MutationType>
- Enclosing class:
- OpenApiResiliencyTest
public static enum OpenApiResiliencyTest.MutationType extends Enum<OpenApiResiliencyTest.MutationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MALFORMED_JSON_BODYNUMERIC_BOUNDARY_VIOLATIONOMIT_REQUIRED_BODY_FIELDOMIT_REQUIRED_PATH_PARAMOMIT_REQUIRED_QUERY_PARAMOVERSIZED_STRING_FIELDSTRING_LENGTH_BOUNDARY_VIOLATIONTYPE_VIOLATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenApiResiliencyTest.MutationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenApiResiliencyTest.MutationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OMIT_REQUIRED_PATH_PARAM
public static final OpenApiResiliencyTest.MutationType OMIT_REQUIRED_PATH_PARAM
-
OMIT_REQUIRED_QUERY_PARAM
public static final OpenApiResiliencyTest.MutationType OMIT_REQUIRED_QUERY_PARAM
-
OMIT_REQUIRED_BODY_FIELD
public static final OpenApiResiliencyTest.MutationType OMIT_REQUIRED_BODY_FIELD
-
TYPE_VIOLATION
public static final OpenApiResiliencyTest.MutationType TYPE_VIOLATION
-
NUMERIC_BOUNDARY_VIOLATION
public static final OpenApiResiliencyTest.MutationType NUMERIC_BOUNDARY_VIOLATION
-
STRING_LENGTH_BOUNDARY_VIOLATION
public static final OpenApiResiliencyTest.MutationType STRING_LENGTH_BOUNDARY_VIOLATION
-
OVERSIZED_STRING_FIELD
public static final OpenApiResiliencyTest.MutationType OVERSIZED_STRING_FIELD
-
MALFORMED_JSON_BODY
public static final OpenApiResiliencyTest.MutationType MALFORMED_JSON_BODY
-
-
Method Detail
-
values
public static OpenApiResiliencyTest.MutationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpenApiResiliencyTest.MutationType c : OpenApiResiliencyTest.MutationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenApiResiliencyTest.MutationType 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 nameNullPointerException- if the argument is null
-
-