Skip to content

Commit

Permalink
feat(specs): add appropriate type to model instance type property (#1077
Browse files Browse the repository at this point in the history
)

Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
writeens and shortcuts committed Nov 3, 2022
1 parent 167e4ed commit fc7f987
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions specs/predict/paths/models/getModelMetrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ get:
type: array
items:
$ref: '../../responses/Models.yml#/modelMetrics'
required:
- modelID
- metrics
'401':
$ref: '../../responses/InvalidCredentials.yml'
'404':
Expand Down
2 changes: 1 addition & 1 deletion specs/predict/responses/Models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ modelInstance:
type: string
description: Name of model instance.
type:
type: string
$ref: '../common/schemas/Params.yml#/modelsToRetrieve'
description: Type of the model.
sourceID:
type: string
Expand Down

0 comments on commit fc7f987

Please sign in to comment.