CI / test (push) Failing after 6m12s
/v1/openapi.json is the API clients use — OpenAI's endpoints, Anthropic's, and what llmgw adds — in OpenAPI 3.1, generated from internal/clientapi's route table by the generator the admin API's document comes from, now told each document's title, server, token and error. A test reads the router's mux.HandleFunc calls and refuses a route described and not mounted, or mounted and not described. Asked for before there is a key, so it needs none. /docs/api shows it in Swagger UI 5.33.1 (Apache 2.0, served from the gateway as the page's policy requires): Authorize takes a key, Try it out sends to this gateway. Staff are offered the admin API's document too, from /docs/api/admin.json, which nobody else is given. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
18 lines
1.5 KiB
JSON
18 lines
1.5 KiB
JSON
{
|
||
"docs.title": "llmgw belgeleri",
|
||
"docs.description": "llmgw'nin kullanımı ve işletimi: istemci kılavuzu, kurulum, işletim ve yapılandırma başvurusu.",
|
||
"docs.this_gateway": "Bu ağ geçidi",
|
||
"docs.about": "llmgw hakkında",
|
||
"docs.documents": "Belgeler",
|
||
"docs.sub": "Bu ağ geçidinin yazılımıyla birlikte gelen kılavuz: <code>llmgw docs</code> komutunun yazdırdığı\nve konsoldaki Kılavuz ekranının gösterdiği sayfaların aynısı.",
|
||
"docs.from_code": "Ağ geçidini koddan kullanmak",
|
||
"docs.from_code_text": "Resmî OpenAI ve Anthropic SDK'ları olduğu gibi çalışır: yalnızca temel URL ile anahtar değişir.\n <a href=\"/docs/%s\">%s</a>; sohbet, akış, araçlar, gömmeler, Responses API'si, toplu işler ve\n llmgw'nin eklediklerini (saklanan sohbetler, etiketler, oturumlar ve bellek notları)\n Python, TypeScript, Go ve curl örnekleriyle gösterir.",
|
||
"docs.every": "Tüm belgeler",
|
||
"docs.general": "Belgeler bu kurulumu değil, genel olarak llmgw'yi anlatır:\nbu kuruluma ait hiçbir adres, model ya da anahtar içermez.",
|
||
"docs.english_only": "Belgelerin kendisi yalnızca İngilizcedir.",
|
||
"docs.footer": "belgeler",
|
||
"docs.api_title": "API başvurusu",
|
||
"docs.api_sub": "İstemcilerin kullandığı API'nin bütün uçları, OpenAPI dokümanından (<a href=\"/v1/openapi.json\">/v1/openapi.json</a>). <em>Authorize</em> bir API anahtarı alır; <em>Try it out</em> isteği bu ağ geçidine gönderir.",
|
||
"docs.api_link": "API başvurusu: bütün uçlar, okumak ve denemek için"
|
||
}
|