From 7161c930fa4078f62b56890abe9f0e0893c76182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Behrendt?= Date: Thu, 19 Sep 2024 13:26:54 +0200 Subject: [PATCH] chore(docs): remove deprecated smart_suggest params (#686) --- doc/compiled.json | 36 +++--------------------------------- paths/jobs/remove_keys.yaml | 2 +- paths/projects/create.yaml | 14 +------------- paths/projects/update.yaml | 14 +------------- 4 files changed, 6 insertions(+), 60 deletions(-) diff --git a/doc/compiled.json b/doc/compiled.json index fc2bace3..cab923ae 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -11502,7 +11502,7 @@ } }, { - "description": "ids of keys that should added to the job", + "description": "ids of keys that should be removed from the job", "example": [ "abcd1234cdef1234abcd1234cdef1234" ], @@ -16525,7 +16525,7 @@ "example": "review" }, "machine_translation_enabled": { - "description": "(Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest", + "description": "(Optional) Enable machine translation support in the project. Required for Pre-Translation", "type": "boolean", "example": true }, @@ -16588,21 +16588,6 @@ "description": "(Optional) Requires autotranslate_enabled to be true", "type": "boolean", "example": true - }, - "smart_suggest_enabled": { - "description": "(Optional) Smart Suggest, requires machine_translation_enabled", - "type": "boolean", - "example": true - }, - "smart_suggest_use_glossary": { - "description": "(Optional) Requires smart_suggest_enabled to be true", - "type": "boolean", - "example": true - }, - "smart_suggest_use_machine_translation": { - "description": "(Optional) Requires smart_suggest_enabled to be true", - "type": "boolean", - "example": true } } } @@ -16784,7 +16769,7 @@ "example": "review" }, "machine_translation_enabled": { - "description": "(Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest", + "description": "(Optional) Enable machine translation support in the project. Required for Pre-Translation", "type": "boolean", "example": true }, @@ -16847,21 +16832,6 @@ "description": "(Optional) Requires autotranslate_enabled to be true", "type": "boolean", "example": true - }, - "smart_suggest_enabled": { - "description": "(Optional) Smart Suggest, requires machine_translation_enabled", - "type": "boolean", - "example": true - }, - "smart_suggest_use_glossary": { - "description": "(Optional) Requires smart_suggest_enabled to be true", - "type": "boolean", - "example": true - }, - "smart_suggest_use_machine_translation": { - "description": "(Optional) Requires smart_suggest_enabled to be true", - "type": "boolean", - "example": true } } } diff --git a/paths/jobs/remove_keys.yaml b/paths/jobs/remove_keys.yaml index 44d91d37..d73da73e 100644 --- a/paths/jobs/remove_keys.yaml +++ b/paths/jobs/remove_keys.yaml @@ -14,7 +14,7 @@ parameters: in: query schema: type: string -- description: ids of keys that should added to the job +- description: ids of keys that should be removed from the job example: - abcd1234cdef1234abcd1234cdef1234 name: translation_key_ids diff --git a/paths/projects/create.yaml b/paths/projects/create.yaml index da61e04d..81f99869 100644 --- a/paths/projects/create.yaml +++ b/paths/projects/create.yaml @@ -94,7 +94,7 @@ requestBody: type: string example: review machine_translation_enabled: - description: "(Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest" + description: "(Optional) Enable machine translation support in the project. Required for Pre-Translation" type: boolean example: true enable_branching: @@ -145,16 +145,4 @@ requestBody: description: "(Optional) Requires autotranslate_enabled to be true" type: boolean example: true - smart_suggest_enabled: - description: "(Optional) Smart Suggest, requires machine_translation_enabled" - type: boolean - example: true - smart_suggest_use_glossary: - description: "(Optional) Requires smart_suggest_enabled to be true" - type: boolean - example: true - smart_suggest_use_machine_translation: - description: "(Optional) Requires smart_suggest_enabled to be true" - type: boolean - example: true x-cli-version: "2.6.3" diff --git a/paths/projects/update.yaml b/paths/projects/update.yaml index 364529b1..1ab6ebc6 100644 --- a/paths/projects/update.yaml +++ b/paths/projects/update.yaml @@ -90,7 +90,7 @@ requestBody: type: string example: review machine_translation_enabled: - description: "(Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest" + description: "(Optional) Enable machine translation support in the project. Required for Pre-Translation" type: boolean example: true enable_branching: @@ -141,16 +141,4 @@ requestBody: description: "(Optional) Requires autotranslate_enabled to be true" type: boolean example: true - smart_suggest_enabled: - description: "(Optional) Smart Suggest, requires machine_translation_enabled" - type: boolean - example: true - smart_suggest_use_glossary: - description: "(Optional) Requires smart_suggest_enabled to be true" - type: boolean - example: true - smart_suggest_use_machine_translation: - description: "(Optional) Requires smart_suggest_enabled to be true" - type: boolean - example: true x-cli-version: "2.6.3"