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.3 KiB
JSON
18 lines
1.3 KiB
JSON
{
|
|
"docs.title": "llmgw docs",
|
|
"docs.description": "How to use and run llmgw: the client guide, installation, operation and the configuration reference.",
|
|
"docs.this_gateway": "This gateway",
|
|
"docs.about": "About llmgw",
|
|
"docs.documents": "Documents",
|
|
"docs.sub": "The manual this gateway's software carries — the same pages\n<code>llmgw docs</code> prints and the console's Manual shows.",
|
|
"docs.from_code": "Using the gateway from code",
|
|
"docs.from_code_text": "The official OpenAI and Anthropic SDKs work as they are: only the base URL\n and the key change. <a href=\"/docs/%s\">%s</a> shows Python,\n TypeScript, Go and curl for chat, streaming, tools, embeddings, the Responses\n API, batches, and what llmgw adds — stored conversations, tags, sessions and\n memory notes.",
|
|
"docs.every": "Every document",
|
|
"docs.general": "The documents describe llmgw in general, not this installation:\nthey name no address, model or key of it.",
|
|
"docs.english_only": "",
|
|
"docs.footer": "docs",
|
|
"docs.api_title": "API reference",
|
|
"docs.api_sub": "Every endpoint of the API clients use, from its OpenAPI document (<a href=\"/v1/openapi.json\">/v1/openapi.json</a>). <em>Authorize</em> takes an API key, and <em>Try it out</em> sends the request to this gateway.",
|
|
"docs.api_link": "API reference: every endpoint, to read and to try"
|
|
}
|