public static enum OpenApiSerializer.Format extends Enum<OpenApiSerializer.Format>
| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType() |
static OpenApiSerializer.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenApiSerializer.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenApiSerializer.Format JSON
public static final OpenApiSerializer.Format YAML
public static OpenApiSerializer.Format[] values()
for (OpenApiSerializer.Format c : OpenApiSerializer.Format.values()) System.out.println(c);
public static OpenApiSerializer.Format 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 getMimeType()
Copyright © 2018 JBoss by Red Hat. All rights reserved.