diff --git a/doc/compiled.json b/doc/compiled.json index 0fb70590f..af2abb6a3 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -24608,8 +24608,9 @@ "example": "home.index.headline" }, "description": { - "description": "Key description (usually includes contextual information for translators)", + "description": "Key description (usually includes contextual information for translators). Send an empty string or `null` to clear the description; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there.", "type": "string", + "nullable": true, "example": "Some description worth knowing..." }, "plural": { @@ -28705,8 +28706,9 @@ "example": "my-feature-branch" }, "content": { - "description": "Translation content", + "description": "Translation content. Send an empty string or `null` to clear the translation's content; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there.", "type": "string", + "nullable": true, "example": "My translation" }, "plural_suffix": { diff --git a/paths/keys/update.yaml b/paths/keys/update.yaml index ae8ce1a98..70129451e 100644 --- a/paths/keys/update.yaml +++ b/paths/keys/update.yaml @@ -74,8 +74,9 @@ requestBody: type: string example: home.index.headline description: - description: Key description (usually includes contextual information for translators) + description: Key description (usually includes contextual information for translators). Send an empty string or `null` to clear the description; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. type: string + nullable: true example: Some description worth knowing... plural: description: Indicates whether key supports pluralization diff --git a/paths/translations/update.yaml b/paths/translations/update.yaml index 57b2a5816..dc3ce01e5 100644 --- a/paths/translations/update.yaml +++ b/paths/translations/update.yaml @@ -63,8 +63,9 @@ requestBody: type: string example: my-feature-branch content: - description: Translation content + description: Translation content. Send an empty string or `null` to clear the translation's content; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. type: string + nullable: true example: My translation plural_suffix: description: 'Plural suffix. Can be one of: zero, one, two, few, many, other. Must be specified if the key associated to the translation is pluralized.'