Package com.styra.opa.openapi.utils
Class RequestBody
java.lang.Object
com.styra.opa.openapi.utils.RequestBody
-
Method Summary
Modifier and TypeMethodDescriptionstatic SerializedBody
static SerializedBody
serializeFormData
(Object value)
-
Method Details
-
serialize
public static SerializedBody serialize(Object request, String requestField, String serializationMethod, boolean nullable) throws NoSuchFieldException, IllegalArgumentException, IllegalAccessException, UnsupportedOperationException, IOException -
serializeFormData
public static SerializedBody serializeFormData(Object value) throws IOException, IllegalArgumentException, IllegalAccessException
-