Skip to content

Commit 947fabc

Browse files
committed
fix(specs): fix specs across predict model endpoints
1 parent 226590f commit 947fabc

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

specs/predict/common/schemas/modelsParams.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ activateModelParams:
22
type: object
33
properties:
44
type:
5-
$ref: '#/type'
5+
$ref: '../../common/schemas/Params.yml#/modelsToRetrieve'
66
name:
77
$ref: '#/name'
88
sourceID:

specs/predict/paths/models/modelInstances.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ post:
5151
type: string
5252
description: The ID of the model.
5353
updatedAt:
54-
type: string
55-
description: The time the model was updated.
54+
$ref: '../../../common/responses/common.yml#/updatedAt'
5655
required:
5756
- modelID
5857
- updatedAt

specs/predict/paths/models/models.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ post:
5050
type: string
5151
description: The ID of the model.
5252
updatedAt:
53-
type: string
54-
description: The time the model was updated.
53+
$ref: '../../../common/responses/common.yml#/updatedAt'
5554
required:
5655
- modelID
5756
- updatedAt

specs/predict/responses/Models.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ modelMetrics:
7676
type: number
7777
format: double
7878
updatedAt:
79-
type: string
79+
$ref: '../../common/responses/common.yml#/updatedAt'

0 commit comments

Comments
 (0)