Skip to content

Commit d0f9a01

Browse files
committed
security
1 parent 4942f95 commit d0f9a01

File tree

1 file changed

+47
-25
lines changed

1 file changed

+47
-25
lines changed

spec/openapi.yaml

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ externalDocs:
1717
description: Smartling Help Center
1818
url: 'https://help.smartling.com'
1919

20+
security:
21+
- BearerAuth: []
22+
2023
tags:
2124
- name: Authentication
2225
description: |-
@@ -9243,6 +9246,10 @@ paths:
92439246

92449247

92459248
components:
9249+
securitySchemes:
9250+
BearerAuth:
9251+
type: http
9252+
scheme: bearer
92469253
requestBodies:
92479254
TagsWithStrings:
92489255
content:
@@ -9514,31 +9521,40 @@ components:
95149521
properties:
95159522
response:
95169523
properties:
9517-
processState:
9518-
description: State of the completed process.
9519-
enum:
9520-
- COMPLETED
9521-
- IN_PROGRESS
9522-
- FAILED
9523-
type: string
9524-
createdDate:
9525-
format: date-time
9526-
type: string
9527-
modifiedDate:
9528-
format: date-time
9529-
type: string
9530-
errorMessage:
9531-
type: string
9532-
processType:
9524+
code:
9525+
description: >-
9526+
Indicates whether the response was successful or what error has occurred.
95339527
enum:
9534-
- MATCH_CONTEXT
9535-
- DELETE_CONTEXTS
9528+
- SUCCESS
95369529
type: string
9537-
result:
9538-
description: result if the response is COMPLETED. The content of the field is depends on `type` field
9539-
oneOf:
9540-
- $ref: '#/components/schemas/MatchAsyncResult'
9541-
- $ref: '#/components/schemas/DeleteContextsAsyncResult'
9530+
data:
9531+
properties:
9532+
processState:
9533+
description: State of the completed process.
9534+
enum:
9535+
- COMPLETED
9536+
- IN_PROGRESS
9537+
- FAILED
9538+
type: string
9539+
createdDate:
9540+
format: date-time
9541+
type: string
9542+
modifiedDate:
9543+
format: date-time
9544+
type: string
9545+
errorMessage:
9546+
type: string
9547+
processType:
9548+
enum:
9549+
- MATCH_CONTEXT
9550+
- DELETE_CONTEXTS
9551+
type: string
9552+
result:
9553+
description: result if the response is COMPLETED. The content of the field is depends on `type` field
9554+
oneOf:
9555+
- $ref: '#/components/schemas/MatchAsyncResult'
9556+
- $ref: '#/components/schemas/DeleteContextsAsyncResult'
9557+
type: object
95429558
type: object
95439559
type: object
95449560

@@ -11547,7 +11563,7 @@ components:
1154711563
description: >-
1154811564
Whether translator instructions have been captured for the
1154911565
file
11550-
type: integer
11566+
type: boolean
1155111567
lastUploaded:
1155211568
description: The time and date of the last upload
1155311569
format: 'YYYY-MM-DDThh:mm:ssZ'
@@ -11688,7 +11704,13 @@ components:
1168811704
- $ref: '#/components/schemas/SuccessResponse'
1168911705
- properties:
1169011706
data:
11691-
$ref: '#/components/schemas/PublishedFilesAPIRecentlyPublishedFilesResponseItem'
11707+
properties:
11708+
items:
11709+
type: array
11710+
items:
11711+
$ref: '#/components/schemas/PublishedFilesAPIRecentlyPublishedFilesResponseItem'
11712+
totalCount:
11713+
type: integer
1169211714
type: object
1169311715
PublishedFilesAPIRecentlyPublishedFilesResponseItem:
1169411716
properties:

0 commit comments

Comments
 (0)