diff --git a/specs/predict/paths/models/getModelMetrics.yml b/specs/predict/paths/models/getModelMetrics.yml index 8faadb8c65..52c335099b 100644 --- a/specs/predict/paths/models/getModelMetrics.yml +++ b/specs/predict/paths/models/getModelMetrics.yml @@ -23,6 +23,9 @@ get: type: array items: $ref: '../../responses/Models.yml#/modelMetrics' + required: + - modelID + - metrics '401': $ref: '../../responses/InvalidCredentials.yml' '404': diff --git a/specs/predict/responses/Models.yml b/specs/predict/responses/Models.yml index 1d792b29a1..304fa8e9d2 100644 --- a/specs/predict/responses/Models.yml +++ b/specs/predict/responses/Models.yml @@ -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