From e61723a282414cee7fedcf56aa30fb19160c94d5 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 14 Sep 2023 17:02:29 +0300 Subject: [PATCH 1/3] SP-11417: Missing results for DocBarCodeInfo --- rt-barcodes.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/rt-barcodes.yml b/rt-barcodes.yml index 9322798..415cd59 100644 --- a/rt-barcodes.yml +++ b/rt-barcodes.yml @@ -8,16 +8,23 @@ components: allOf: - type: object properties: - nFields: - type: integer - description: "Count of array fields" - pArrayFields: - type: array - description: "Data from barcode" - items: - $ref: "#/components/schemas/pArrayField" + DocBarCodeInfo: + $ref: "#/components/schemas/DocBarCodeInfoFieldsList" - $ref: "./rt.yml#/components/schemas/ResultItem" + + DocBarCodeInfoFieldsList: + type: object + properties: + nFields: + type: integer + description: "Count of array fields" + pArrayFields: + type: array + description: "Data from barcode" + items: + $ref: "#/components/schemas/pArrayField" + pArrayField: type: object properties: From 3d78858a98dcec1f2c2235a7ad62d131e8fb1792 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 14 Sep 2023 20:45:50 +0300 Subject: [PATCH 2/3] SP-11417: Missing results for DocBarCodeInfo --- rt-barcodes.yml | 2 ++ rt.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/rt-barcodes.yml b/rt-barcodes.yml index 415cd59..848fb5b 100644 --- a/rt-barcodes.yml +++ b/rt-barcodes.yml @@ -5,6 +5,8 @@ components: DocBarCodeInfo: title: "Document BarCode Info" description: "Raw data from BarCodes" + required: + - DocBarCodeInfo allOf: - type: object properties: diff --git a/rt.yml b/rt.yml index c7fd7ff..3ca3373 100644 --- a/rt.yml +++ b/rt.yml @@ -177,6 +177,7 @@ components: DocumentTypesCandidatesResult: $ref: "./rt-doc-type-old.yml#/components/schemas/DocumentTypesCandidatesResult" + ChosenDocumentTypeResult: $ref: "./rt-doc-type-old.yml#/components/schemas/ChosenDocumentTypeResult" From 9ff6dd4a193a3f9aeaca9d675da2a9ec8bd59892 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 18 Sep 2023 11:38:12 +0300 Subject: [PATCH 3/3] SP-11417: Missing results for DocBarCodeInfo --- rt-barcodes.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/rt-barcodes.yml b/rt-barcodes.yml index 848fb5b..415cd59 100644 --- a/rt-barcodes.yml +++ b/rt-barcodes.yml @@ -5,8 +5,6 @@ components: DocBarCodeInfo: title: "Document BarCode Info" description: "Raw data from BarCodes" - required: - - DocBarCodeInfo allOf: - type: object properties: