Enum CppBoostBeastModelCodegen.OasDialect
- java.lang.Object
-
- java.lang.Enum<CppBoostBeastModelCodegen.OasDialect>
-
- org.openapitools.codegen.languages.CppBoostBeastModelCodegen.OasDialect
-
- All Implemented Interfaces:
Serializable,Comparable<CppBoostBeastModelCodegen.OasDialect>
- Enclosing class:
- CppBoostBeastModelCodegen
public static enum CppBoostBeastModelCodegen.OasDialect extends Enum<CppBoostBeastModelCodegen.OasDialect>
Classified effective schema dialect for an OpenAPI document.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRAFT_2020_12_RECPlain JSON Schema Draft 2020-12 (not OAS-wrapped).OAS_31OAS 3.1 pinned dialect (or its base alias).UNRECOGNIZEDA dialect identifier not recognized by this program.UNSPECIFIEDNo dialect declared (OAS 3.1 default applies for OAS 3.1 documents).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CppBoostBeastModelCodegen.OasDialectvalueOf(String name)Returns the enum constant of this type with the specified name.static CppBoostBeastModelCodegen.OasDialect[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OAS_31
public static final CppBoostBeastModelCodegen.OasDialect OAS_31
OAS 3.1 pinned dialect (or its base alias).
-
DRAFT_2020_12_REC
public static final CppBoostBeastModelCodegen.OasDialect DRAFT_2020_12_REC
Plain JSON Schema Draft 2020-12 (not OAS-wrapped).
-
UNRECOGNIZED
public static final CppBoostBeastModelCodegen.OasDialect UNRECOGNIZED
A dialect identifier not recognized by this program.
-
UNSPECIFIED
public static final CppBoostBeastModelCodegen.OasDialect UNSPECIFIED
No dialect declared (OAS 3.1 default applies for OAS 3.1 documents).
-
-
Method Detail
-
values
public static CppBoostBeastModelCodegen.OasDialect[] 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 (CppBoostBeastModelCodegen.OasDialect c : CppBoostBeastModelCodegen.OasDialect.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CppBoostBeastModelCodegen.OasDialect 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
-
-