public class DefaultPactReader implements PactReader
Default implementation of PactReader
@NotNull public static java.lang.Object s3Client
public static DefaultPactReader INSTANCE
Default implementation of PactReader
@NotNull public static java.lang.Object getS3Client()
public static void setS3Client(@NotNull
java.lang.Object p)
@NotNull public Pact<?> loadPact(@NotNull java.lang.Object source)
Loads a pact file from either a File or a URL
source - a File or a URL@NotNull public Pact<?> loadPact(@NotNull java.lang.Object source, @NotNull java.util.Map<java.lang.String,? extends java.lang.Object> options)
Loads a pact file from either a File or a URL
source - a File or a URLoptions - to use when loading the pact@JvmStatic
@NotNull
public static java.lang.String determineSpecVersion(@NotNull
com.google.gson.JsonElement pactInfo)
@JvmStatic @NotNull public static Pact<?> loadV3Pact(@NotNull PactSource source, @NotNull com.google.gson.JsonObject pactJson)
@JvmStatic @NotNull public static Pact<?> loadV2Pact(@NotNull PactSource source, @NotNull com.google.gson.JsonObject pactJson)
@JvmStatic @NotNull public static Response extractResponse(@NotNull com.google.gson.JsonObject responseJson)
@JvmStatic @NotNull public static Request extractRequest(@NotNull com.google.gson.JsonObject requestJson)
@JvmStatic
@NotNull
public static com.google.gson.JsonObject transformJson(@NotNull
com.google.gson.JsonObject pactJson)