Skip to content

Commit b2b007c

Browse files
Merge pull request #11 from DeepLcom/spec_fixes
fix: some more entries in specs that were placed incorrectly
2 parents 31e2202 + 6a14230 commit b2b007c

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ number is used only for corrections to the OpenAPI specification, for example:
1010
typos, schema fixes, or adding examples.
1111

1212

13-
## [Unreleased]
13+
## [2.13.0] - 2024-03-14
1414
### Deprecated
1515
* Remove all properties from `/usage` except for `character_count` and `character_limit`;
1616
these are the only two properties included in the API response for the v2 API.
17+
### Fixed
18+
* Fixed some minor issues in specs that were violating OpenAPI specification.
19+
* Thanks to [hoemoon](https://github.com/hoemoon) in [#8](https://github.com/DeepLcom/openapi/pull/8).
1720

1821

1922
## [2.12.0] - 2024-02-29
@@ -123,7 +126,7 @@ typos, schema fixes, or adding examples.
123126
Initial release of the OpenAPI specification.
124127

125128

126-
[Unreleased]: https://github.com/DeepLcom/openapi/compare/v2.12.0...HEAD
129+
[2.13.0]: https://github.com/DeepLcom/openapi/compare/v2.12.0...v2.13.0
127130
[2.12.0]: https://github.com/DeepLcom/openapi/compare/v2.11.0...v2.12.0
128131
[2.11.0]: https://github.com/DeepLcom/openapi/compare/v2.10.0...v2.11.0
129132
[2.10.0]: https://github.com/DeepLcom/openapi/compare/v2.9.2...v2.10.0

openapi.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "DeepL - Contact us",
99
"url": "https://www.deepl.com/contact-us"
1010
},
11-
"version": "2.12.0"
11+
"version": "2.13.0"
1212
},
1313
"externalDocs": {
1414
"description": "DeepL Pro - Plans and pricing",
@@ -825,7 +825,6 @@
825825
},
826826
"examples": {
827827
"Basic": {
828-
"name": "Basic",
829828
"value": {
830829
"name": "My Glossary",
831830
"source_lang": "en",

openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ info:
77
contact:
88
name: DeepL - Contact us
99
url: https://www.deepl.com/contact-us
10-
version: 2.12.0
10+
version: 2.13.0
1111
externalDocs:
1212
description: DeepL Pro - Plans and pricing
1313
url: https://www.deepl.com/pro#developer?cta=header-prices/

openapi_gitbook.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ info:
99
contact:
1010
name: DeepL - Contact us
1111
url: https://www.deepl.com/contact-us
12-
version: 2.12.0
12+
version: 2.13.0
1313
externalDocs:
1414
description: DeepL Pro - Plans and pricing
1515
url: https://www.deepl.com/pro#developer?cta=header-prices/
@@ -178,10 +178,10 @@ paths:
178178
items:
179179
type: string
180180
example: ignore_tag
181-
encoding:
182-
text:
183-
style: form
184-
explode: true
181+
encoding:
182+
text:
183+
style: form
184+
explode: true
185185
responses:
186186
200:
187187
description: The translate function returns a JSON representation of the
@@ -583,7 +583,6 @@ paths:
583583
$ref: '#/components/schemas/CreateGlossaryParameters'
584584
examples:
585585
Basic:
586-
name: Basic
587586
value:
588587
name: My Glossary
589588
source_lang: en

0 commit comments

Comments
 (0)