From 9dcdcabac82517e9c2d9127cd3b4439c51cd46e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Behrendt?= Date: Fri, 13 Sep 2024 12:40:45 +0200 Subject: [PATCH] Fix quoting of boolean param in CLI example (#684) --- doc/compiled.json | 2 +- paths/projects/create.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/compiled.json b/doc/compiled.json index 8ce72584..fc2bace3 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -16459,7 +16459,7 @@ }, { "lang": "CLI v2", - "source": "phrase projects create \\\n--data '{\"name\": \"My Android Project\", \"main_format\":\"yml\", \"shares_translation_memory\":\"true\"}' \\\n--access_token " + "source": "phrase projects create \\\n--data '{\"name\": \"My Android Project\", \"main_format\":\"yml\", \"shares_translation_memory\":true}' \\\n--access_token " } ], "requestBody": { diff --git a/paths/projects/create.yaml b/paths/projects/create.yaml index 945356d6..da61e04d 100644 --- a/paths/projects/create.yaml +++ b/paths/projects/create.yaml @@ -38,7 +38,7 @@ x-code-samples: - lang: CLI v2 source: |- phrase projects create \ - --data '{"name": "My Android Project", "main_format":"yml", "shares_translation_memory":"true"}' \ + --data '{"name": "My Android Project", "main_format":"yml", "shares_translation_memory":true}' \ --access_token requestBody: required: true