Skip to content

Commit 2fe7421

Browse files
Update openapi.yaml
1 parent 0d7ebdd commit 2fe7421

1 file changed

Lines changed: 40 additions & 2 deletions

File tree

openapi.yaml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3937,12 +3937,50 @@ paths:
39373937
application/json:
39383938
schema:
39393939
$ref: "#/components/schemas/ErrorData"
3940+
/evaluations/model-list:
3941+
get:
3942+
tags:
3943+
- evaluation
3944+
summary: Get model list
3945+
operationId: getModelListDeprecated
3946+
parameters:
3947+
- name: model_source
3948+
in: query
3949+
required: false
3950+
schema:
3951+
type: string
3952+
default: "all"
3953+
responses:
3954+
"200":
3955+
description: "Model list retrieved successfully. Deprecated! Please use /evaluation/model-list"
3956+
content:
3957+
application/json:
3958+
schema:
3959+
type: object
3960+
properties:
3961+
model_list:
3962+
type: array
3963+
items:
3964+
type: string
3965+
description: "The name of the model"
3966+
"400":
3967+
description: "Invalid request format"
3968+
content:
3969+
application/json:
3970+
schema:
3971+
$ref: "#/components/schemas/ErrorData"
3972+
"500":
3973+
description: "Error retrieving model list"
3974+
content:
3975+
application/json:
3976+
schema:
3977+
$ref: "#/components/schemas/ErrorData"
39403978
/evaluations:
39413979
get:
39423980
tags:
39433981
- evaluation
3944-
summary: Get all evaluation jobs
3945-
operationId: getAllEvaluationsJobs
3982+
summary: Get all evaluation jobs. Deprecated! Please use /evaluation
3983+
operationId: getAllEvaluationJobsDeprecated
39463984
parameters:
39473985
- name: status
39483986
in: query

0 commit comments

Comments
 (0)