Skip to content

Commit ca6ed63

Browse files
Merge pull request #120 from regulaforensics/feature/41461
41461 - add request tenant, env
2 parents fcc517d + 06bb278 commit ca6ed63

5 files changed

Lines changed: 38 additions & 1 deletion

File tree

detect.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ components:
5151
$ref: "./common.yml#/components/schemas/ProcessParam"
5252
image:
5353
$ref: "./common.yml#/components/schemas/ImageData"
54+
tenant:
55+
type: string
56+
description: "Customer name"
57+
env:
58+
type: string
59+
description: "Environment type"
5460

5561
DetectResponse:
5662
allOf:

match.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ components:
5959
$ref: "#/components/schemas/MatchImage"
6060
outputImageParams:
6161
$ref: "./common.yml#/components/schemas/ProcessParam/properties/outputImageParams"
62+
tenant:
63+
type: string
64+
description: "Customer name"
65+
env:
66+
type: string
67+
description: "Environment type"
6268

6369
MatchImageIndex:
6470
type: integer

match_and_search.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ components:
4949
items:
5050
type: string
5151
format: uuid
52+
tenant:
53+
type: string
54+
description: "Customer name"
55+
env:
56+
type: string
57+
description: "Environment type"
5258

5359
MatchAndSearchResponse:
5460
allOf:

persons.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ paths:
1515
content:
1616
application/json:
1717
schema:
18-
$ref: "./identification.yml#/components/schemas/PersonFields"
18+
$ref: "#/definitions/PersonsRequest"
1919
responses:
2020
201:
2121
$ref: "#/components/responses/SuccessPerson"
@@ -227,3 +227,14 @@ definitions:
227227
type: array
228228
items:
229229
$ref: "./identification.yml#/components/schemas/Image"
230+
PersonsRequest:
231+
allOf:
232+
- $ref: "./identification.yml#/components/schemas/PersonFields"
233+
- type: object
234+
properties:
235+
tenant:
236+
type: string
237+
description: "Customer name"
238+
env:
239+
type: string
240+
description: "Environment type"

search.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ definitions:
4343
allOf:
4444
- $ref: "#/definitions/SearchParameters"
4545
- $ref: "./identification.yml#/components/schemas/ImageFields"
46+
- type: object
47+
properties:
48+
tenant:
49+
type: string
50+
description: "Customer name"
51+
env:
52+
type: string
53+
description: "Environment type"
4654

4755
SearchParameters:
4856
type: object

0 commit comments

Comments
 (0)