docs: update website
parent
de546b03fe
commit
3b7153ba23
|
|
@ -27,7 +27,7 @@ OpenAPI documentation for [tabby](https://github.com/TabbyML/tabby), a self-host
|
|||
license(name = "Apache 2.0", url="https://github.com/TabbyML/tabby/blob/main/LICENSE")
|
||||
),
|
||||
servers(
|
||||
(url = "https://app.tabbyml.com/api/workspace/tabbyml/tabby", description = "Local server"),
|
||||
(url = "https://tabbyml.app.tabbyml.com/tabby", description = "Local server"),
|
||||
(url = "http://localhost:8080", description = "Local server"),
|
||||
),
|
||||
paths(events::log_event, completions::completion, health),
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://app.tabbyml.com/api/workspace/tabbyml/tabby",
|
||||
"url": "https://tabbyml.app.tabbyml.com/tabby",
|
||||
"description": "Local server"
|
||||
},
|
||||
{
|
||||
|
|
@ -78,6 +78,19 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/health": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"v1"
|
||||
],
|
||||
"operationId": "health",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Health"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue