Package io.vertx.mutiny.openapi.contract
Class RequestBody
java.lang.Object
io.vertx.mutiny.openapi.contract.RequestBody
- All Implemented Interfaces:
MutinyDelegate
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 the
Operation V3.1
Operation V3.0 NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRequestBody(io.vertx.openapi.contract.RequestBody delegate) RequestBody(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptiondetermineContentType(String mediaTypeIdentifier) booleanio.vertx.openapi.contract.RequestBodyinthashCode()booleanstatic RequestBodynewInstance(io.vertx.openapi.contract.RequestBody arg) toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
RequestBody
public RequestBody(io.vertx.openapi.contract.RequestBody delegate) -
RequestBody
-
-
Method Details
-
getDelegate
public io.vertx.openapi.contract.RequestBody getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
isRequired
public boolean isRequired()- Returns:
- true if the request body is required in the request, otherwise false.
-
getContent
- Returns:
- a map containing descriptions of potential request payloads. The key is a media type or media type range and the value describes it.
-
determineContentType
- Parameters:
mediaTypeIdentifier-- Returns:
- A fitting media type, or null.
-
newInstance
-