public static enum ModelOptions.Source extends Enum<ModelOptions.Source>
Enum Constant and Description |
---|
EXAMPLES
Derive the API input model from the examples defined by the OpenAPI definition.
|
SCHEMAS
Derive the API input model from the schemas defined by the OpenAPI definition.
|
Modifier and Type | Method and Description |
---|---|
static ModelOptions.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelOptions.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelOptions.Source EXAMPLES
public static final ModelOptions.Source SCHEMAS
public static ModelOptions.Source[] values()
for (ModelOptions.Source c : ModelOptions.Source.values()) System.out.println(c);
public static ModelOptions.Source 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 nullCopyright © 2024 The Cornutum Project. All rights reserved.