Skip to content

Commit 1cb7511

Browse files
Fix c# client
1 parent 925ab70 commit 1cb7511

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

p-transaction.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ paths:
2727
content:
2828
application/json:
2929
schema:
30-
$ref: "./p-process.yml#/components/schemas/ProcessRequest"
30+
$ref: "#/components/schemas/TransactionProcessRequest"
3131
required: true
3232
responses:
3333
"200":
@@ -197,3 +197,37 @@ components:
197197
type: array
198198
items:
199199
$ref: "common.yml#/components/schemas/ImageTransactionData"
200+
201+
TransactionProcessRequest:
202+
type: object
203+
properties:
204+
tag:
205+
type: string
206+
description: "session id"
207+
processParam:
208+
$ref: "./p-process.yml#/components/schemas/ProcessParams"
209+
List:
210+
type: array
211+
items:
212+
$ref: "./p-process.yml#/components/schemas/ProcessRequestImage"
213+
livePortrait:
214+
type: string
215+
format: base64
216+
example: "Base64 encoded data"
217+
description: "Live portrait photo"
218+
extPortrait:
219+
type: string
220+
format: base64
221+
example: "Base64 encoded data"
222+
description: "Portrait photo from an external source"
223+
ContainerList:
224+
$ref: "./rt.yml#/components/schemas/ContainerList"
225+
systemInfo:
226+
$ref: "./p-process.yml#/components/schemas/ProcessSystemInfo"
227+
passBackObject:
228+
type: object
229+
description: "Free-form object to be included in response. Must be object, not list or simple value.
230+
Do not affect document processing. Use it freely to pass your app params. Stored in process logs."
231+
additionalProperties: true
232+
required:
233+
- processParam

0 commit comments

Comments
 (0)