Golang / openapi.json
sarveshpatel's picture
Create openapi.json
7c2f39c verified
Raw
History Blame Contribute Delete
773 Bytes
{
"openapi": "3.0.3",
"info": {
"title": "Qwen3 Go API",
"version": "1.0.0",
"description": "Streaming SSE API for Qwen3-0.6B via llama.cpp"
},
"paths": {
"/v1/chat/completions": {
"post": {
"summary": "Chat completion (streaming)",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"responses": {
"200": {
"description": "SSE stream"
}
}
}
},
"/health": {
"get": {
"summary": "Health check",
"responses": {
"200": { "description": "OK" }
}
}
}
}
}