File tree Expand file tree Collapse file tree 1 file changed +49
-22
lines changed
Expand file tree Collapse file tree 1 file changed +49
-22
lines changed Original file line number Diff line number Diff line change @@ -37,29 +37,56 @@ paths:
3737 properties :
3838 model :
3939 type : string
40- prompt :
40+ messages :
41+ type : array
42+ items :
43+ type : object
44+ properties :
45+ role :
46+ type : string
47+ enum :
48+ - system
49+ - user
50+ - assistant
51+ content :
52+ type : string
53+ responses :
54+ " 200 " :
55+ description : Generated content
56+ content :
57+ application/json :
58+ schema :
59+ type : object
60+ properties :
61+ provider :
62+ type : string
63+ response :
64+ type : object
65+ properties :
66+ role :
67+ type : string
68+ model :
69+ type : string
70+ content :
71+ type : string
72+ " 400 " :
73+ description : Bad request
74+ content :
75+ application/json :
76+ schema :
77+ type : object
78+ properties :
79+ error :
80+ type : string
81+ " 500 " :
82+ description : Internal server error
83+ content :
84+ application/json :
85+ schema :
86+ type : object
87+ properties :
88+ error :
4189 type : string
42- responses :
43- " 200 " :
44- description : Generated content
45- content :
46- application/json :
47- schema :
48- type : object
49- properties :
50- provider :
51- type : string
52- response :
53- type : string
54- " 500 " :
55- description : Internal server error
56- content :
57- application/json :
58- schema :
59- type : object
60- properties :
61- error :
62- type : string
6390 /health :
6491 get :
6592 summary : Health check
You can’t perform that action at this time.
0 commit comments