public static enum DocumentationProviderFeatures.DocumentationProvider extends Enum<DocumentationProviderFeatures.DocumentationProvider>
| Enum Constant and Description |
|---|
NONE |
SOURCE |
SPRINGDOC |
SPRINGFOX |
SWAGGER1 |
SWAGGER2 |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
DocumentationProviderFeatures.AnnotationLibrary |
getPreferredAnnotationLibrary() |
String |
getPropertyName()
The property name should be used in the codegen model as a boolean property.
|
DocumentationProviderFeatures.AnnotationLibrary[] |
getSupportedAnnotationLibraries() |
static DocumentationProviderFeatures.DocumentationProvider |
ofCliOption(String optVal) |
List<DocumentationProviderFeatures.AnnotationLibrary> |
supportedAnnotationLibraries() |
String |
toCliOptValue() |
static DocumentationProviderFeatures.DocumentationProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentationProviderFeatures.DocumentationProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentationProviderFeatures.DocumentationProvider NONE
public static final DocumentationProviderFeatures.DocumentationProvider SOURCE
public static final DocumentationProviderFeatures.DocumentationProvider SWAGGER1
public static final DocumentationProviderFeatures.DocumentationProvider SWAGGER2
public static final DocumentationProviderFeatures.DocumentationProvider SPRINGFOX
public static final DocumentationProviderFeatures.DocumentationProvider SPRINGDOC
public static DocumentationProviderFeatures.DocumentationProvider[] values()
for (DocumentationProviderFeatures.DocumentationProvider c : DocumentationProviderFeatures.DocumentationProvider.values()) System.out.println(c);
public static DocumentationProviderFeatures.DocumentationProvider 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 nullpublic static DocumentationProviderFeatures.DocumentationProvider ofCliOption(String optVal)
public String getPropertyName()
public String getDescription()
public DocumentationProviderFeatures.AnnotationLibrary getPreferredAnnotationLibrary()
public DocumentationProviderFeatures.AnnotationLibrary[] getSupportedAnnotationLibraries()
public List<DocumentationProviderFeatures.AnnotationLibrary> supportedAnnotationLibraries()
public String toCliOptValue()
Copyright © 2023. All rights reserved.