Class TypedObject

java.lang.Object
com.styra.opa.openapi.utils.TypedObject

public class TypedObject extends Object
  • Method Details

    • value

      public Object value()
    • typeReference

      public com.fasterxml.jackson.core.type.TypeReference<?> typeReference()
    • shape

      public Utils.JsonShape shape()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • of

      public static <T> TypedObject of(T value, Utils.JsonShape shape, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)