Enum Schema.SchemaResolution
- java.lang.Object
-
- java.lang.Enum<Schema.SchemaResolution>
-
- io.swagger.v3.oas.annotations.media.Schema.SchemaResolution
-
- All Implemented Interfaces:
Serializable
,Comparable<Schema.SchemaResolution>
- Enclosing class:
- Schema
public static enum Schema.SchemaResolution extends Enum<Schema.SchemaResolution>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_OF
ALL_OF_REF
AUTO
DEFAULT
INLINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Schema.SchemaResolution
valueOf(String name)
Returns the enum constant of this type with the specified name.static Schema.SchemaResolution[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final Schema.SchemaResolution AUTO
-
DEFAULT
public static final Schema.SchemaResolution DEFAULT
-
INLINE
public static final Schema.SchemaResolution INLINE
-
ALL_OF
public static final Schema.SchemaResolution ALL_OF
-
ALL_OF_REF
public static final Schema.SchemaResolution ALL_OF_REF
-
-
Method Detail
-
values
public static Schema.SchemaResolution[] 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 (Schema.SchemaResolution c : Schema.SchemaResolution.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Schema.SchemaResolution 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
-
-