diff --git a/common.yml b/common.yml index cdda9da3..a8d8cbb7 100644 --- a/common.yml +++ b/common.yml @@ -122,6 +122,9 @@ components: properties: image: $ref: "#/components/schemas/ImageBase64" + format: + description: "Image format" + type: string ImageTransactionData: type: object diff --git a/rt-raw-image.yml b/rt-raw-image.yml index 98124507..a16e6e12 100644 --- a/rt-raw-image.yml +++ b/rt-raw-image.yml @@ -4,11 +4,9 @@ components: DocumentImageResult: title: "Document Image" + description: "Contains document image." allOf: - type: object - description: "Contains cropped and rotated with perspective compensation image of document. - Single input image can contain multiple document side/pages, which will be returned as separated results. - Most of coordinates in other types defined on that image" required: - RawImageContainer properties: diff --git a/rt.yml b/rt.yml index e3819565..b1bc0378 100644 --- a/rt.yml +++ b/rt.yml @@ -117,6 +117,7 @@ components: 8: "DocumentTypesCandidatesResult" 9: "ChosenDocumentTypeResult" 15: "LexicalAnalysisResult" + 16: "DocumentImageResult" 17: "TextDataResult" 18: "TextDataResult" 19: "GraphicsResult"