Skip to content
Merged
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
1 change: 1 addition & 0 deletions spec/file_translation/fts_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ components:
- response
Error:
type: object
nullable: true
properties:
key:
description: Error key
Expand Down
10 changes: 5 additions & 5 deletions spec/file_translation/fts_language_detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ x-paths:
response:
code: VALIDATION_ERROR
errors:
key: not.found
message: >-
fileUid h5dhjbg1ganp not found
details:
field: "fileUid"
- key: not.found
message: >-
fileUid h5dhjbg1ganp not found
details:
field: "fileUid"

401:
$ref: '../api_common.yaml#/components/responses/Error401ResponseDefinition'
Expand Down
47 changes: 25 additions & 22 deletions spec/file_translation/fts_mt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ x-paths:
response:
code: VALIDATION_ERROR
errors:
key: locale.not.requested
message: >-
Processing request did not contain locale de-DE
details:
field: "localeId"
- key: locale.not.requested
message: >-
Processing request did not contain locale de-DE
details:
field: "localeId"
'401':
$ref: '../api_common.yaml#/components/responses/Error401ResponseDefinition'
'429':
Expand Down Expand Up @@ -274,6 +274,7 @@ x-paths:
type: string
format: binary
400:
description: "Validation error"
content:
application/json:
schema:
Expand All @@ -284,11 +285,11 @@ x-paths:
response:
code: VALIDATION_ERROR
errors:
key: mt.not.completed
message: >-
State of processing is QUEUED. Only COMPLETED,CANCELED allow final file to be downloaded
details:
field: "mtUid"
- key: mt.not.completed
message: >-
State of processing is QUEUED. Only COMPLETED,CANCELED allow final file to be downloaded
details:
field: "mtUid"
401:
$ref: '../api_common.yaml#/components/responses/Error401ResponseDefinition'
429:
Expand Down Expand Up @@ -341,18 +342,20 @@ components:
error:
$ref: './fts_common.yaml#/components/schemas/Error'
localeProcessStatuses:
type: object
properties:
localeId:
type: string
description: Locale, requested for translation
state:
$ref: '#/components/schemas/MTState'
processedStringCount:
type: integer
description: Amount of strings translated for the locale
error:
$ref: './fts_common.yaml#/components/schemas/Error'
type: array
items:
type: object
properties:
localeId:
type: string
description: Locale, requested for translation
state:
$ref: '#/components/schemas/MTState'
processedStringCount:
type: integer
description: Amount of strings translated for the locale
error:
$ref: './fts_common.yaml#/components/schemas/Error'
type: object

type: object
Expand Down