Package com.networknt.oas.validator.impl
Enum OpenApi3Messages
- java.lang.Object
-
- java.lang.Enum<OpenApi3Messages>
-
- com.networknt.oas.validator.impl.OpenApi3Messages
-
- All Implemented Interfaces:
Messages,Serializable,Comparable<OpenApi3Messages>
public enum OpenApi3Messages extends Enum<OpenApi3Messages> implements Messages
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormatString()static OpenApi3MessagesvalueOf(String name)Returns the enum constant of this type with the specified name.static OpenApi3Messages[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.networknt.oas.validator.msg.Messages
getFormatString, getFormatStrings, msg, msg, msgNoLocale, name
-
-
-
-
Enum Constant Detail
-
ExmplTwoValues
public static final OpenApi3Messages ExmplTwoValues
-
ExampleNoValue
public static final OpenApi3Messages ExampleNoValue
-
NonQryAllowRsvd
public static final OpenApi3Messages NonQryAllowRsvd
-
IgnContType
public static final OpenApi3Messages IgnContType
-
NoOpIdNoOpRefInLink
public static final OpenApi3Messages NoOpIdNoOpRefInLink
-
OpIdAndOpRefInLink
public static final OpenApi3Messages OpIdAndOpRefInLink
-
OpIdNotFound
public static final OpenApi3Messages OpIdNotFound
-
OpPathNotFound
public static final OpenApi3Messages OpPathNotFound
-
BadLinkParam
public static final OpenApi3Messages BadLinkParam
-
AmbigLinkParam
public static final OpenApi3Messages AmbigLinkParam
-
OperationRefUnSupp
public static final OpenApi3Messages OperationRefUnSupp
-
EncPropNotSchemaProp
public static final OpenApi3Messages EncPropNotSchemaProp
-
MissingPathTplt
public static final OpenApi3Messages MissingPathTplt
-
NoPath
public static final OpenApi3Messages NoPath
-
PathParamReq
public static final OpenApi3Messages PathParamReq
-
DiscNotProp
public static final OpenApi3Messages DiscNotProp
-
DiscNotReq
public static final OpenApi3Messages DiscNotReq
-
ROnlyAndWOnly
public static final OpenApi3Messages ROnlyAndWOnly
-
UnkSecScheme
public static final OpenApi3Messages UnkSecScheme
-
-
Method Detail
-
values
public static OpenApi3Messages[] 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 (OpenApi3Messages c : OpenApi3Messages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenApi3Messages 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
-
getFormatString
public String getFormatString()
- Specified by:
getFormatStringin interfaceMessages
-
-