public enum SpecFormat extends Enum<SpecFormat>
| Enum Constant and Description |
|---|
JSON_OAS |
JSON_OAS3 |
RAML |
YAML_OAS |
YAML_OAS3 |
| Modifier and Type | Method and Description |
|---|---|
static SpecFormat |
getFromString(String specName) |
String |
getName() |
static SpecFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecFormat RAML
public static final SpecFormat JSON_OAS
public static final SpecFormat YAML_OAS
public static final SpecFormat JSON_OAS3
public static final SpecFormat YAML_OAS3
public static SpecFormat[] values()
for (SpecFormat c : SpecFormat.values()) System.out.println(c);
public static SpecFormat 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 String getName()
public static SpecFormat getFromString(String specName)
Copyright © 2023. All rights reserved.