Class MediaType
- java.lang.Object
-
- io.vertx.reactivex.openapi.contract.MediaType
-
public class MediaType extends Object
This interface represents the most important attributes of an OpenAPI Operation.
Operation V3.1
Operation V3.0 NOTE: This class has been automatically generated from theoriginal
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MediaType>
__TYPE_ARG
static String
APPLICATION_JSON
static String
APPLICATION_JSON_UTF8
static List<String>
SUPPORTED_MEDIA_TYPES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
MediaType
getDelegate()
String
getIdentifier()
JsonSchema
getSchema()
int
hashCode()
static boolean
isMediaTypeSupported(String type)
static MediaType
newInstance(MediaType arg)
String
toString()
-
-
-
Method Detail
-
getDelegate
public MediaType getDelegate()
-
isMediaTypeSupported
public static boolean isMediaTypeSupported(String type)
-
getSchema
public JsonSchema getSchema()
- Returns:
- the schema defining the content of the request.
-
getIdentifier
public String getIdentifier()
- Returns:
- the identifier like application/json
-
-