Enum DocumentationProviderFeatures.AnnotationLibrary
- java.lang.Object
-
- java.lang.Enum<DocumentationProviderFeatures.AnnotationLibrary>
-
- org.openapitools.codegen.languages.features.DocumentationProviderFeatures.AnnotationLibrary
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentationProviderFeatures.AnnotationLibrary>
- Enclosing interface:
- DocumentationProviderFeatures
public static enum DocumentationProviderFeatures.AnnotationLibrary extends Enum<DocumentationProviderFeatures.AnnotationLibrary>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MICROPROFILE
NONE
SWAGGER1
SWAGGER2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getPropertyName()
The property name is used in the codegen model as a boolean property.static DocumentationProviderFeatures.AnnotationLibrary
ofCliOption(String optVal)
String
toCliOptValue()
static DocumentationProviderFeatures.AnnotationLibrary
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentationProviderFeatures.AnnotationLibrary[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DocumentationProviderFeatures.AnnotationLibrary NONE
-
SWAGGER1
public static final DocumentationProviderFeatures.AnnotationLibrary SWAGGER1
-
SWAGGER2
public static final DocumentationProviderFeatures.AnnotationLibrary SWAGGER2
-
MICROPROFILE
public static final DocumentationProviderFeatures.AnnotationLibrary MICROPROFILE
-
-
Method Detail
-
values
public static DocumentationProviderFeatures.AnnotationLibrary[] 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 (DocumentationProviderFeatures.AnnotationLibrary c : DocumentationProviderFeatures.AnnotationLibrary.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentationProviderFeatures.AnnotationLibrary 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
-
ofCliOption
public static DocumentationProviderFeatures.AnnotationLibrary ofCliOption(String optVal)
-
getPropertyName
public String getPropertyName()
The property name is used in the codegen model as a boolean property.- Returns:
- the property name for this annotation library
-
getDescription
public String getDescription()
-
toCliOptValue
public String toCliOptValue()
-
-