Package com.ibm.wsspi.rest.api.discovery
Enum APIProvider.DocType
- java.lang.Object
-
- java.lang.Enum<APIProvider.DocType>
-
- com.ibm.wsspi.rest.api.discovery.APIProvider.DocType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<APIProvider.DocType>
- Enclosing interface:
- APIProvider
public static enum APIProvider.DocType extends java.lang.Enum<APIProvider.DocType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description API_BLUEPRINT_JSON
OpenAPI_v3_JSON
OpenAPI_v3_YAML
RAML_YAML
Swagger_20_JSON
Swagger_20_YAML
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static APIProvider.DocType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static APIProvider.DocType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Swagger_20_JSON
public static final APIProvider.DocType Swagger_20_JSON
-
Swagger_20_YAML
public static final APIProvider.DocType Swagger_20_YAML
-
RAML_YAML
public static final APIProvider.DocType RAML_YAML
-
API_BLUEPRINT_JSON
public static final APIProvider.DocType API_BLUEPRINT_JSON
-
OpenAPI_v3_YAML
public static final APIProvider.DocType OpenAPI_v3_YAML
-
OpenAPI_v3_JSON
public static final APIProvider.DocType OpenAPI_v3_JSON
-
-
Method Detail
-
values
public static APIProvider.DocType[] 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 (APIProvider.DocType c : APIProvider.DocType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APIProvider.DocType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-