Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Jun 7, 2024
1 parent f3816bd commit af96aa2
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 6 deletions.
2 changes: 1 addition & 1 deletion json/ManagementService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -15238,7 +15238,7 @@
"type" : "string"
},
"errorCode" : {
"description" : "The error code of the app. It exists if the status is error or invalid.",
"description" : "The error code of the Android app with the `status` of either **error** or **invalid**.",
"type" : "string"
},
"id" : {
Expand Down
30 changes: 29 additions & 1 deletion json/ManagementService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -15635,9 +15635,20 @@
"type" : "string"
},
"errorCode" : {
"description" : "The error code of the app. It exists if the status is error or invalid.",
"deprecated" : true,
"x-deprecatedInVersion" : "3",
"x-deprecatedMessage" : "Use `errors` instead.",
"description" : "The error code of the Android app with the `status` of either **error** or **invalid**.",
"type" : "string"
},
"errors" : {
"x-addedInVersion" : "3",
"description" : "The list of errors of the Android app.",
"items" : {
"$ref" : "#/components/schemas/AndroidAppError"
},
"type" : "array"
},
"id" : {
"description" : "The unique identifier of the app.",
"type" : "string"
Expand Down Expand Up @@ -15670,6 +15681,23 @@
],
"type" : "object"
},
"AndroidAppError" : {
"additionalProperties" : false,
"properties" : {
"errorCode" : {
"description" : "The error code of the Android app with the `status` of either **error** or **invalid**.",
"type" : "string"
},
"terminalModels" : {
"description" : "The list of payment terminal models to which the returned `errorCode` applies.",
"items" : {
"type" : "string"
},
"type" : "array"
}
},
"type" : "object"
},
"AndroidAppsResponse" : {
"additionalProperties" : false,
"properties" : {
Expand Down
4 changes: 2 additions & 2 deletions yaml/ManagementService-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10003,8 +10003,8 @@ components:
description is not shown on the terminal.
type: string
errorCode:
description: The error code of the app. It exists if the status is error
or invalid.
description: The error code of the Android app with the `status` of either
**error** or **invalid**.
type: string
id:
description: The unique identifier of the app.
Expand Down
27 changes: 25 additions & 2 deletions yaml/ManagementService-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10257,9 +10257,18 @@ components:
description is not shown on the terminal.
type: string
errorCode:
description: The error code of the app. It exists if the status is error
or invalid.
deprecated: true
x-deprecatedInVersion: '3'
x-deprecatedMessage: Use `errors` instead.
description: The error code of the Android app with the `status` of either
**error** or **invalid**.
type: string
errors:
x-addedInVersion: '3'
description: The list of errors of the Android app.
items:
$ref: '#/components/schemas/AndroidAppError'
type: array
id:
description: The unique identifier of the app.
type: string
Expand Down Expand Up @@ -10289,6 +10298,20 @@ components:
- id
- status
type: object
AndroidAppError:
additionalProperties: false
properties:
errorCode:
description: The error code of the Android app with the `status` of either
**error** or **invalid**.
type: string
terminalModels:
description: The list of payment terminal models to which the returned `errorCode`
applies.
items:
type: string
type: array
type: object
AndroidAppsResponse:
additionalProperties: false
properties:
Expand Down

0 comments on commit af96aa2

Please sign in to comment.