From b862fc3eca58a82fe3c4b354ec064edf9608f2de Mon Sep 17 00:00:00 2001 From: Lucas Mathis Date: Thu, 18 Jun 2026 16:57:05 +0200 Subject: [PATCH 1/2] spec: add translation_memory resource and missing v3/languages/resources feature names GET /v3/languages and /v3/languages/resources lagged the live API: - resource enum (query param + /resources response) was missing translation_memory - /resources feature-name enum was missing transcription, translated_speech, spoken_terms, translation_memory Extend all three enums to match what api.deepl.com actually returns. YAML only; openapi.json is regenerated by the workflow. --- api-reference/openapi.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api-reference/openapi.yaml b/api-reference/openapi.yaml index 6b8cfb8..ab81c4d 100644 --- a/api-reference/openapi.yaml +++ b/api-reference/openapi.yaml @@ -2298,6 +2298,7 @@ paths: - voice - write - style_rules + - translation_memory example: translate_text features: description: |- @@ -2320,6 +2321,10 @@ paths: - writing_style - tone - auto_detection + - transcription + - translated_speech + - spoken_terms + - translation_memory needs_source_support: description: If `true`, the source language must support this feature for it to be available. Defaults to `false` if absent. type: boolean @@ -2385,11 +2390,12 @@ paths: - voice - write - style_rules + - translation_memory example: translate_text x-default: translate_text description: |- The resource to retrieve languages for. Supported values: `translate_text`, `translate_document`, - `glossary`, `voice`, `write`, `style_rules`. + `glossary`, `voice`, `write`, `style_rules`, `translation_memory`. - name: include in: query required: false From 1de76f9b8110c33e2e970b855fa22b1d2cd0c170 Mon Sep 17 00:00:00 2001 From: lilkraftwerk <3614128+lilkraftwerk@users.noreply.github.com> Date: Thu, 18 Jun 2026 15:02:53 +0000 Subject: [PATCH 2/2] chore: update OpenAPI JSON files from YAML sources --- api-reference/openapi.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/api-reference/openapi.json b/api-reference/openapi.json index e9d8328..d4727c1 100644 --- a/api-reference/openapi.json +++ b/api-reference/openapi.json @@ -3300,7 +3300,8 @@ "glossary", "voice", "write", - "style_rules" + "style_rules", + "translation_memory" ], "example": "translate_text" }, @@ -3323,7 +3324,11 @@ "glossary", "writing_style", "tone", - "auto_detection" + "auto_detection", + "transcription", + "translated_speech", + "spoken_terms", + "translation_memory" ] }, "needs_source_support": { @@ -3433,12 +3438,13 @@ "glossary", "voice", "write", - "style_rules" + "style_rules", + "translation_memory" ] }, "example": "translate_text", "x-default": "translate_text", - "description": "The resource to retrieve languages for. Supported values: `translate_text`, `translate_document`,\n`glossary`, `voice`, `write`, `style_rules`." + "description": "The resource to retrieve languages for. Supported values: `translate_text`, `translate_document`,\n`glossary`, `voice`, `write`, `style_rules`, `translation_memory`." }, { "name": "include",