Skip to content

Commit ba78a61

Browse files
authored
Merge pull request #164 from tisnik/update-openapi-json
LCORE-177: Updated OpenAPI.json
2 parents e01a1d6 + 1f4b1c7 commit ba78a61

1 file changed

Lines changed: 80 additions & 2 deletions

File tree

docs/openapi.json

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,48 @@
227227
}
228228
},
229229
"name": "foo bar baz",
230+
"service": {
231+
"host": "localhost",
232+
"port": 8080,
233+
"auth_enabled": false,
234+
"workers": 1,
235+
"color_log": true,
236+
"access_log": true,
237+
"tls_config": {
238+
"tls_certificate_path": "config/certificate.crt",
239+
"tls_key_path": "config/private.key"
240+
}
241+
},
230242
"llama_stack": {
231243
"url": "http://localhost:8321",
232-
"api_key": "xyzzy"
233-
}
244+
"api_key": "xyzzy",
245+
"use_as_library_client": false
246+
},
247+
"user_data_collection": {
248+
"feedback_disabled": false,
249+
"feedback_storage": "/tmp/data/feedback",
250+
"transcripts_disabled": true
251+
},
252+
"mcp_servers": [
253+
{
254+
"name": "server1",
255+
"provider_id": "provider1",
256+
"url": "http://url.com:1"
257+
},
258+
{
259+
"name": "server2",
260+
"provider_id": "provider2",
261+
"url": "http://url.com:2"
262+
},
263+
{
264+
"name": "server3",
265+
"provider_id": "provider3",
266+
"url": "http://url.com:3"
267+
}
268+
]
269+
},
270+
"503": {
271+
"description": "Configuration can not be loaded"
234272
}
235273
}
236274
}
@@ -299,6 +337,46 @@
299337
}
300338
}
301339
}
340+
},
341+
"/v1/streaming_query": {
342+
"post": {
343+
"tags": [
344+
"streaming_query"
345+
],
346+
"summary": "Streaming Query Endpoint Handler",
347+
"description": "Handle request to the /streaming_query endpoint.",
348+
"operationId": "streaming_query_endpoint_handler_v1_streaming_query_post",
349+
"requestBody": {
350+
"content": {
351+
"application/json": {
352+
"schema": {
353+
"$ref": "#/components/schemas/QueryRequest"
354+
}
355+
}
356+
},
357+
"required": true
358+
},
359+
"responses": {
360+
"200": {
361+
"description": "Successful Response",
362+
"content": {
363+
"application/json": {
364+
"schema": {}
365+
}
366+
}
367+
},
368+
"422": {
369+
"description": "Validation Error",
370+
"content": {
371+
"application/json": {
372+
"schema": {
373+
"$ref": "#/components/schemas/HTTPValidationError"
374+
}
375+
}
376+
}
377+
}
378+
}
379+
}
302380
}
303381
},
304382
"components": {

0 commit comments

Comments
 (0)