Skip to content

Commit 55b5466

Browse files
yoshiamakinoclaude
andcommitted
docs(document): use a pdf file in the watermark example
Watermarking only applies to docx/pdf output; the other examples already use docx, so show pdf here to make the supported formats clear. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f1013cb commit 55b5466

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

api-reference/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,10 +1078,10 @@
10781078
}
10791079
},
10801080
"Watermark": {
1081-
"summary": "Adding a \"Translated by DeepL\" watermark",
1081+
"summary": "Adding a \"Translated by DeepL\" watermark (docx/pdf only)",
10821082
"value": {
10831083
"target_lang": "DE",
1084-
"file": "@document.docx",
1084+
"file": "@document.pdf",
10851085
"enable_watermark": true
10861086
}
10871087
},

api-reference/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,10 +828,10 @@ paths:
828828
target_lang: DE
829829
file: '@document.docx'
830830
Watermark:
831-
summary: Adding a "Translated by DeepL" watermark
831+
summary: Adding a "Translated by DeepL" watermark (docx/pdf only)
832832
value:
833833
target_lang: DE
834-
file: '@document.docx'
834+
file: '@document.pdf'
835835
enable_watermark: true
836836
Glossary:
837837
summary: Using a Glossary

0 commit comments

Comments
 (0)