Skip to content

Commit

Permalink
add per document config param
Browse files Browse the repository at this point in the history
  • Loading branch information
hleb-albau committed Jul 21, 2021
1 parent 40b8589 commit 737a9af
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions p-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@ components:
changing API."
type: object
additionalProperties: true
config:
description: "This option allows to set additional custom configuration per document type.
If recognized document has id specified in config, processing adjusts according to designated configuration."
type: array
items:
$ref: '#/components/schemas/PerDocumentConfig'
log:
description: "This option can be set to true if you need to get base64 string of transaction processing log."
type: boolean
Expand Down Expand Up @@ -348,6 +354,21 @@ components:
- 'INFO'
- 'DEBUG'


PerDocumentConfig:
type: object
properties:
docID:
description: "Specific template IDs, for which apply current custom configuration"
type: array
items:
type: integer
excludeAuthChecks:
description: "Contains items from AuthenticityResultType as sum via OR operation"
type: integer
example: 2


ImageQA:
type: object
properties:
Expand Down

0 comments on commit 737a9af

Please sign in to comment.