Turkeyengineer commited on
Commit
d45c713
·
verified ·
1 Parent(s): 5ccf38f

Update .well-known/openapi.yaml

Browse files
Files changed (1) hide show
  1. .well-known/openapi.yaml +3 -2
.well-known/openapi.yaml CHANGED
@@ -7,9 +7,10 @@ servers:
7
  - url: https://turkeyengineer-test.hf.space
8
  description: Hugging Face Space hosting the segment API
9
  paths:
10
- /run/predict:
 
11
  post:
12
- operationId: run_predict
13
  summary: 將中文句子依字分開
14
  requestBody:
15
  required: true
 
7
  - url: https://turkeyengineer-test.hf.space
8
  description: Hugging Face Space hosting the segment API
9
  paths:
10
+ paths:
11
+ /run/predict: # ✅ 使用正確的 API 路徑
12
  post:
13
+ operationId: run_predict # ✅ 保留 operationId 但不讓它決定 endpoint
14
  summary: 將中文句子依字分開
15
  requestBody:
16
  required: true