Skip to content

Commit

Permalink
Merge pull request #168 from regulaforensics/SP-15220/Correct_transac…
Browse files Browse the repository at this point in the history
…tion_process_request

SP-15220: Correct transaction process request
  • Loading branch information
KirylKovaliov authored May 6, 2024
2 parents 302f3b0 + 7d3f556 commit d6e1171
Showing 1 changed file with 7 additions and 27 deletions.
34 changes: 7 additions & 27 deletions p-transaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,34 +227,8 @@ components:
TransactionProcessRequest:
type: object
properties:
tag:
type: string
description: "session id"
processParam:
$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
$ref: "#/components/schemas/TransactionScenarioRequest"
required:
- processParam

Expand Down Expand Up @@ -285,3 +259,9 @@ components:
url:
type: string
description: "Image url"

TransactionScenarioRequest:
type: object
properties:
scenario:
$ref: "./common.yml#/components/schemas/Scenario"

0 comments on commit d6e1171

Please sign in to comment.