Skip to content

Commit 532e7e3

Browse files
fix: some more entries in specs that were placed incorrectly
1 parent 31e2202 commit 532e7e3

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ typos, schema fixes, or adding examples.
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

openapi.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,6 @@
825825
},
826826
"examples": {
827827
"Basic": {
828-
"name": "Basic",
829828
"value": {
830829
"name": "My Glossary",
831830
"source_lang": "en",

openapi_gitbook.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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)