Skip to content

Commit c3d16d3

Browse files
41461 - update groups, identification
1 parent 2b0cede commit c3d16d3

3 files changed

Lines changed: 12 additions & 31 deletions

File tree

groups.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,3 @@ definitions:
174174
items:
175175
type: string
176176
format: uuid
177-
tenant:
178-
type: string
179-
description: "Customer name"
180-
env:
181-
type: string
182-
description: "Environment type"

identification.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ components:
7777
expireAt:
7878
type: string
7979
description: "Person expiration date."
80-
tenant:
81-
type: string
82-
description: "Customer name"
83-
env:
84-
type: string
85-
description: "Environment type"
8680
PersonToUpdateFields:
8781
type: object
8882
description: "Person Request body: name and metadata."
@@ -103,12 +97,6 @@ components:
10397
items:
10498
type: string
10599
format: uuid
106-
tenant:
107-
type: string
108-
description: "Customer name"
109-
env:
110-
type: string
111-
description: "Environment type"
112100

113101
ImageFields:
114102
type: object
@@ -197,12 +185,6 @@ components:
197185
limit:
198186
type: integer
199187
description: "The maximum number of results to be returned."
200-
tenant:
201-
type: string
202-
description: "Customer name"
203-
env:
204-
type: string
205-
description: "Environment type"
206188

207189
ResizeOptions:
208190
type: object
@@ -303,9 +285,3 @@ components:
303285
type: object
304286
additionalProperties: true
305287
description: "A free-form object containing group's extended attributes."
306-
tenant:
307-
type: string
308-
description: "Customer name"
309-
env:
310-
type: string
311-
description: "Environment type"

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"

0 commit comments

Comments
 (0)