Skip to content

Commit fc7f987

Browse files
writeensshortcuts
andauthored
feat(specs): add appropriate type to model instance type property (#1077)
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 167e4ed commit fc7f987

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

specs/predict/paths/models/getModelMetrics.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ get:
2323
type: array
2424
items:
2525
$ref: '../../responses/Models.yml#/modelMetrics'
26+
required:
27+
- modelID
28+
- metrics
2629
'401':
2730
$ref: '../../responses/InvalidCredentials.yml'
2831
'404':

specs/predict/responses/Models.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ modelInstance:
99
type: string
1010
description: Name of model instance.
1111
type:
12-
type: string
12+
$ref: '../common/schemas/Params.yml#/modelsToRetrieve'
1313
description: Type of the model.
1414
sourceID:
1515
type: string

0 commit comments

Comments
 (0)