Skip to content

Commit 4b34ab5

Browse files
committed
feat(specs): add modelID as part of getModelMetrics response
1 parent a624eba commit 4b34ab5

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

specs/predict/paths/models/getModelMetrics.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ get:
1313
application/json:
1414
schema:
1515
title: getModelMetricsResponse
16-
type: array
17-
items:
18-
$ref: '../../responses/Models.yml#/modelMetrics'
16+
type: object
17+
additionalProperties: false
18+
properties:
19+
modelID:
20+
type: string
21+
description: The ID of the model.
22+
metrics:
23+
type: array
24+
items:
25+
$ref: '../../responses/Models.yml#/modelMetrics'
1926
'401':
2027
$ref: '../../responses/InvalidCredentials.yml'
2128
'404':

0 commit comments

Comments
 (0)