From cf4d4bc9b74b18436042cf66b0cfe3ab8c40b50f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 19:13:48 +0000 Subject: [PATCH] fix(docs): use correct putAdditionalProperty value (#281) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c37f2736..e6706b0f 100644 --- a/README.md +++ b/README.md @@ -158,9 +158,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.lithic.api.models.core.JsonValue; CardCreateParams params = CardCreateParams.builder() // ... normal properties - .putAdditionalProperty("secret_param", "4242") + .putAdditionalProperty("secret_param", JsonValue.from("4242")) .build(); ```