Skip to content

Commit

Permalink
feat(specs): add modelID as part of getModelMetrics response (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
writeens authored Oct 12, 2022
1 parent a624eba commit e84584d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions specs/predict/paths/models/getModelMetrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ get:
application/json:
schema:
title: getModelMetricsResponse
type: array
items:
$ref: '../../responses/Models.yml#/modelMetrics'
type: object
additionalProperties: false
properties:
modelID:
type: string
description: The ID of the model.
metrics:
type: array
items:
$ref: '../../responses/Models.yml#/modelMetrics'
'401':
$ref: '../../responses/InvalidCredentials.yml'
'404':
Expand Down

0 comments on commit e84584d

Please sign in to comment.