Skip to content

Commit 758c938

Browse files
SP-13678: Fix feedback
1 parent 8397d04 commit 758c938

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

p-transaction.yml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ info:
55

66
paths:
77
/transaction/{transactionId}/process:
8-
parameters:
9-
- in: header
10-
name: X-CLIENT-KEY
11-
schema:
12-
type: string
13-
required: true
148
post:
159
parameters:
1610
- in: path
@@ -170,18 +164,16 @@ components:
170164
type: object
171165
properties:
172166
url:
173-
description: "Image url"
167+
description: "Response url"
174168
type: string
169+
images:
170+
type: array
171+
items:
172+
$ref: "#/components/schemas/TransactionImagesFieldValue"
175173

176174
InData:
177175
type: object
178176
properties:
179-
rfidSession:
180-
type: object
181-
properties:
182-
url:
183-
description: "Image url"
184-
type: string
185177
video:
186178
description: "Video"
187179
type: object
@@ -196,7 +188,7 @@ components:
196188
images:
197189
type: array
198190
items:
199-
$ref: "common.yml#/components/schemas/ImageTransactionData"
191+
$ref: "#/components/schemas/TransactionImagesFieldValue"
200192

201193
TransactionProcessRequest:
202194
type: object
@@ -231,3 +223,18 @@ components:
231223
additionalProperties: true
232224
required:
233225
- processParam
226+
227+
TransactionImagesFieldValue:
228+
type: object
229+
properties:
230+
fieldType:
231+
$ref: "./e-graphic-field-type.yml#/components/schemas/GraphicFieldType"
232+
light:
233+
$ref: "./common.yml#/components/schemas/Light"
234+
listIdx:
235+
type: integer
236+
pageIdx:
237+
$ref: "./common.yml#/components/schemas/PageIndex"
238+
url:
239+
type: string
240+
description: "Image url"

0 commit comments

Comments
 (0)