Class MediaType
- java.lang.Object
-
- io.vertx.rxjava3.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 theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MediaType>__TYPE_ARGstatic StringAPPLICATION_JSONstatic StringAPPLICATION_JSON_UTF8static List<String>SUPPORTED_MEDIA_TYPES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)MediaTypegetDelegate()StringgetIdentifier()JsonSchemagetSchema()inthashCode()static booleanisMediaTypeSupported(String type)static MediaTypenewInstance(MediaType arg)StringtoString()
-
-
-
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
-
-