Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions api-reference/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2528,9 +2528,6 @@
"in": "header",
"schema": {
"type": "string",
"enum": [
"text/tab-separated-values"
],
"default": "text/tab-separated-values"
},
"description": "The requested format of the returned glossary entries. Currently, supports only `text/tab-separated-values`.",
Expand Down Expand Up @@ -2707,6 +2704,30 @@
}
}
}
},
"400": {
"$ref": "#/components/responses/BadRequest"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"413": {
"$ref": "#/components/responses/PayloadTooLarge"
},
"415": {
"description": "Unsupported Content-Type. Use `application/json` or `application/x-www-form-urlencoded`."
},
"429": {
"$ref": "#/components/responses/TooManyRequests"
},
"456": {
"$ref": "#/components/responses/QuotaExceeded"
},
"500": {
"$ref": "#/components/responses/InternalServerError"
},
"504": {
"$ref": "#/components/responses/ServiceUnavailable"
}
},
"security": [
Expand Down
18 changes: 16 additions & 2 deletions api-reference/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1781,8 +1781,6 @@ paths:
in: header
schema:
type: string
enum:
- text/tab-separated-values
default: text/tab-separated-values
description: The requested format of the returned glossary entries. Currently,
supports only `text/tab-separated-values`.
Expand Down Expand Up @@ -1901,6 +1899,22 @@ paths:
description: The improved text.
type: string
example: This is a sample sentence to improve.
400:
$ref: '#/components/responses/BadRequest'
403:
$ref: '#/components/responses/Forbidden'
413:
$ref: '#/components/responses/PayloadTooLarge'
415:
description: Unsupported Content-Type. Use `application/json` or `application/x-www-form-urlencoded`.
429:
$ref: '#/components/responses/TooManyRequests'
456:
$ref: '#/components/responses/QuotaExceeded'
500:
$ref: '#/components/responses/InternalServerError'
504:
$ref: '#/components/responses/ServiceUnavailable'
security:
- auth_header: [ ]
/v2/write/correct:
Expand Down