From c0575e83168a9e314eb4ed04b714921c63a48526 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Wed, 21 Aug 2024 20:45:07 +0000 Subject: [PATCH] fix(docs): use correct putAdditionalProperty value --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index da1c440..4ec8fb6 100755 --- a/README.md +++ b/README.md @@ -104,9 +104,10 @@ Sometimes, the API may support other properties that are not yet supported in th you can attach them using the `putAdditionalProperty` method. ```java +import com.openlayer.api.models.core.JsonValue; InferencePipelineDataStreamParams params = InferencePipelineDataStreamParams.builder() // ... normal properties - .putAdditionalProperty("secret_param", "4242") + .putAdditionalProperty("secret_param", JsonValue.from("4242")) .build(); ```