public enum SwaggerVersion extends Enum<SwaggerVersion>
| Modifier and Type | Method and Description |
|---|---|
static SwaggerVersion |
forValue(String value) |
String |
toValue() |
static SwaggerVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwaggerVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwaggerVersion V1_0
public static final SwaggerVersion V1_1
public static final SwaggerVersion V1_2
public static SwaggerVersion[] values()
for (SwaggerVersion c : SwaggerVersion.values()) System.out.println(c);
public static SwaggerVersion 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 SwaggerVersion forValue(String value)
public String toValue()
Copyright © 2024. All rights reserved.