Skip to content

Commit

Permalink
Merge pull request #151 from regulaforensics/Fix_image_transaction_data
Browse files Browse the repository at this point in the history
Fix image transaction data
  • Loading branch information
KirylKovaliov authored Feb 20, 2024
2 parents a826eab + 3cf4c22 commit 925ab70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,10 @@ components:
$ref: "#/components/schemas/ImageBase64"

ImageTransactionData:
type: array
items:
$ref: './rt-images.yml#/components/schemas/ImagesFieldValue'
type: object
properties:
image:
$ref: './rt-images.yml#/components/schemas/ImagesFieldValue'

ImageBase64:
description: "Base64 encoded image"
Expand Down
2 changes: 2 additions & 0 deletions index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ components:
$ref: "./rt-images.yml#/components/schemas/Images"
DocumentImage:
$ref: "./common.yml#/components/schemas/ImageData"
TransactionImage:
$ref: "./common.yml#/components/schemas/ImageTransactionData"
DocumentTypesCandidates:
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentTypesCandidatesList"
ChosenDocumentType:
Expand Down

0 comments on commit 925ab70

Please sign in to comment.