Skip to content

Commit bd9641e

Browse files
SP-13356: Change attributes' config schema
1 parent 9dce5e3 commit bd9641e

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

common.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ components:
6363
type: object
6464
properties:
6565
config:
66-
$ref: "./common.yml#/components/schemas/QualityConfigList"
66+
$ref: "./common.yml#/components/schemas/AttributeConfigList"
6767

6868
OutputImageParams:
6969
type: object
@@ -133,6 +133,21 @@ components:
133133
If the returned in the Response value fits this range,
134134
the value is identified as compliant with the requirements."
135135
example: [x, y]
136+
137+
AttributeConfigList:
138+
type: array
139+
items:
140+
$ref: "#/components/schemas/AttributeConfig"
141+
142+
AttributeConfig:
143+
type: object
144+
description: "The configuration that defines the list of returned attribute check characteristics."
145+
properties:
146+
name:
147+
description: "The name of the characteristic."
148+
$ref: "#/components/schemas/FaceAttribute"
149+
example: "Emotion"
150+
136151
QualityDetailsGroups:
137152
type: object
138153
properties:

0 commit comments

Comments
 (0)