Skip to content

Commit dcfeabb

Browse files
fix: Source and target language were mixed up in glossary example.
Fix createGlossary example: remove punctuation.
1 parent d222b54 commit dcfeabb

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ number is used only for corrections to the OpenAPI specification, for example:
1010
typos, schema fixes, or adding examples.
1111

1212

13+
## [2.3.1]
14+
### Fixed
15+
* Source and target language were mixed up in glossary example.
16+
* Fix createGlossary example: remove punctuation.
17+
18+
1319
## [2.3.0]
1420
### Added
1521
* Add Ukrainian source and target languages.
@@ -43,6 +49,7 @@ typos, schema fixes, or adding examples.
4349
Initial release of the OpenAPI specification.
4450

4551

52+
[2.3.1]: https://github.com/DeepLcom/openapi/compare/v2.3.0...v2.3.1
4653
[2.3.0]: https://github.com/DeepLcom/openapi/compare/v2.2.0...v2.3.0
4754
[2.2.0]: https://github.com/DeepLcom/openapi/compare/v2.1.0...v2.2.0
4855
[2.1.0]: https://github.com/DeepLcom/openapi/compare/v2.0.0...v2.1.0

openapi.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742
"entries": {
743743
"description": "The entries of the glossary. The entries have to be specified in the format provided by the `entries_format` parameter.",
744744
"type": "string",
745-
"example": "Hello!\tGuten Tag!"
745+
"example": "Hello\tGuten Tag"
746746
},
747747
"entries_format": {
748748
"description": "The format in which the glossary entries are provided. Formats currently available:\n- `tsv` (default) - tab-separated values\n- `csv` - comma-separated values\n\nSee [Supported Glossary Formats](https://www.deepl.com/docs-api/glossaries/formats) for details about each format.",
@@ -1667,7 +1667,7 @@
16671667
"it",
16681668
"pl"
16691669
],
1670-
"example": "de"
1670+
"example": "en"
16711671
},
16721672
"GlossaryTargetLanguage": {
16731673
"type": "string",
@@ -1681,7 +1681,7 @@
16811681
"it",
16821682
"pl"
16831683
],
1684-
"example": "en"
1684+
"example": "de"
16851685
},
16861686
"SourceLanguage": {
16871687
"type": "string",

openapi.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ paths:
715715
description: The entries of the glossary. The entries have to be
716716
specified in the format provided by the `entries_format` parameter.
717717
type: string
718-
example: "Hello!\tGuten Tag!"
718+
example: "Hello\tGuten Tag"
719719
entries_format:
720720
description: |-
721721
The format in which the glossary entries are provided. Formats currently available:
@@ -1387,7 +1387,7 @@ components:
13871387
- ja
13881388
- it
13891389
- pl
1390-
example: de
1390+
example: en
13911391
GlossaryTargetLanguage:
13921392
type: string
13931393
description: The language in which the target texts in the glossary are specified.
@@ -1399,7 +1399,7 @@ components:
13991399
- ja
14001400
- it
14011401
- pl
1402-
example: en
1402+
example: de
14031403
SourceLanguage:
14041404
type: string
14051405
description: |-

0 commit comments

Comments
 (0)