Skip to content

Commit 14ae67a

Browse files
committed
fix: Add missing form urlencoded endpoint for put v3 glossary endpoint
1 parent 87761e5 commit 14ae67a

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

openapi.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,11 @@
13631363
"schema": {
13641364
"$ref": "#/components/schemas/MultilingualGlossaryEntries"
13651365
}
1366+
},
1367+
"application/x-www-form-urlencoded": {
1368+
"schema": {
1369+
"$ref": "#/components/schemas/PutMultilingualGlossaryParameters"
1370+
}
13661371
}
13671372
}
13681373
},
@@ -2752,6 +2757,9 @@
27522757
],
27532758
"default": "0"
27542759
},
2760+
"PutMultilingualGlossaryParameters": {
2761+
"$ref": "#/components/schemas/MultilingualGlossaryEntries"
2762+
},
27552763
"ShowBilledCharacters": {
27562764
"description": "When true, the response will include the billed_characters parameter, giving the \nnumber of characters from the request that will be counted by DeepL for billing purposes.",
27572765
"type": "boolean"

openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,9 @@ paths:
10311031
application/json:
10321032
schema:
10331033
$ref: '#/components/schemas/MultilingualGlossaryEntries'
1034+
application/x-www-form-urlencoded:
1035+
schema:
1036+
$ref: '#/components/schemas/PutMultilingualGlossaryParameters'
10341037
responses:
10351038
200:
10361039
description: JSON object containing the dictionary meta-information.
@@ -2152,6 +2155,8 @@ components:
21522155
- '0'
21532156
- '1'
21542157
default: '0'
2158+
PutMultilingualGlossaryParameters:
2159+
$ref: '#/components/schemas/MultilingualGlossaryEntries'
21552160
ShowBilledCharacters:
21562161
description: |-
21572162
When true, the response will include the billed_characters parameter, giving the

openapi_gitbook.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,9 @@ paths:
943943
application/json:
944944
schema:
945945
$ref: '#/components/schemas/MultilingualGlossaryEntries'
946+
application/x-www-form-urlencoded:
947+
schema:
948+
$ref: '#/components/schemas/PutMultilingualGlossaryParameters'
946949
responses:
947950
200:
948951
description: JSON object containing the dictionary meta-information.
@@ -1950,6 +1953,8 @@ components:
19501953
- '0'
19511954
- '1'
19521955
default: '0'
1956+
PutMultilingualGlossaryParameters:
1957+
$ref: '#/components/schemas/MultilingualGlossaryEntries'
19531958
ShowBilledCharacters:
19541959
description: |-
19551960
When true, the response will include the billed_characters parameter, giving the

0 commit comments

Comments
 (0)