Package com.styra.opa.openapi.utils
Class TypedObject
java.lang.Object
com.styra.opa.openapi.utils.TypedObject
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TypedObject
of
(T value, Utils.JsonShape shape, com.fasterxml.jackson.core.type.TypeReference<T> typeReference) shape()
toString()
com.fasterxml.jackson.core.type.TypeReference<?>
value()
-
Method Details
-
value
-
typeReference
public com.fasterxml.jackson.core.type.TypeReference<?> typeReference() -
shape
-
toString
-
of
public static <T> TypedObject of(T value, Utils.JsonShape shape, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
-