Skip to content

Commit

Permalink
fix: Source and target language were mixed up in glossary example.
Browse files Browse the repository at this point in the history
Fix createGlossary example: remove punctuation.
  • Loading branch information
daniel-jones-dev committed Oct 5, 2022
1 parent d222b54 commit dcfeabb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ number is used only for corrections to the OpenAPI specification, for example:
typos, schema fixes, or adding examples.


## [2.3.1]
### Fixed
* Source and target language were mixed up in glossary example.
* Fix createGlossary example: remove punctuation.


## [2.3.0]
### Added
* Add Ukrainian source and target languages.
Expand Down Expand Up @@ -43,6 +49,7 @@ typos, schema fixes, or adding examples.
Initial release of the OpenAPI specification.


[2.3.1]: https://github.com/DeepLcom/openapi/compare/v2.3.0...v2.3.1
[2.3.0]: https://github.com/DeepLcom/openapi/compare/v2.2.0...v2.3.0
[2.2.0]: https://github.com/DeepLcom/openapi/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/DeepLcom/openapi/compare/v2.0.0...v2.1.0
Expand Down
6 changes: 3 additions & 3 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@
"entries": {
"description": "The entries of the glossary. The entries have to be specified in the format provided by the `entries_format` parameter.",
"type": "string",
"example": "Hello!\tGuten Tag!"
"example": "Hello\tGuten Tag"
},
"entries_format": {
"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.",
Expand Down Expand Up @@ -1667,7 +1667,7 @@
"it",
"pl"
],
"example": "de"
"example": "en"
},
"GlossaryTargetLanguage": {
"type": "string",
Expand All @@ -1681,7 +1681,7 @@
"it",
"pl"
],
"example": "en"
"example": "de"
},
"SourceLanguage": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ paths:
description: The entries of the glossary. The entries have to be
specified in the format provided by the `entries_format` parameter.
type: string
example: "Hello!\tGuten Tag!"
example: "Hello\tGuten Tag"
entries_format:
description: |-
The format in which the glossary entries are provided. Formats currently available:
Expand Down Expand Up @@ -1387,7 +1387,7 @@ components:
- ja
- it
- pl
example: de
example: en
GlossaryTargetLanguage:
type: string
description: The language in which the target texts in the glossary are specified.
Expand All @@ -1399,7 +1399,7 @@ components:
- ja
- it
- pl
example: en
example: de
SourceLanguage:
type: string
description: |-
Expand Down

0 comments on commit dcfeabb

Please sign in to comment.