fix: openapi for eval-task (#1085)

# What does this PR do?
- as title

## Test Plan
- the deprecated endpoint need to obey what it was before

[//]: # (## Documentation)
This commit is contained in:
Xi Yan 2025-02-13 17:10:45 -08:00 committed by GitHub
parent 2a8e199e10
commit da53dc3f5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -81,7 +81,7 @@
"deprecated": true
}
},
"/v1/eval-tasks/{task_id}": {
"/v1/eval-tasks/{eval_task_id}": {
"get": {
"responses": {
"200": {
@ -109,7 +109,7 @@
"parameters": [
{
"name": "eval_task_id",
"in": "query",
"in": "path",
"required": true,
"schema": {
"type": "string"