Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP-15220: Correct transaction process #171

Merged
merged 1 commit into from
Jun 7, 2024
Merged
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
28 changes: 27 additions & 1 deletion p-transaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,34 @@ components:
TransactionProcessRequest:
type: object
properties:
tag:
type: string
description: "session id"
processParam:
$ref: "#/components/schemas/TransactionScenarioRequest"
$ref: "./p-process.yml#/components/schemas/ProcessParams"
List:
type: array
items:
$ref: "./p-process.yml#/components/schemas/ProcessRequestImage"
livePortrait:
type: string
format: base64
example: "Base64 encoded data"
description: "Live portrait photo"
extPortrait:
type: string
format: base64
example: "Base64 encoded data"
description: "Portrait photo from an external source"
ContainerList:
$ref: "./rt.yml#/components/schemas/ContainerList"
systemInfo:
$ref: "./p-process.yml#/components/schemas/ProcessSystemInfo"
passBackObject:
type: object
description: "Free-form object to be included in response. Must be object, not list or simple value.
Do not affect document processing. Use it freely to pass your app params. Stored in process logs."
additionalProperties: true
required:
- processParam

Expand Down
Loading