()
| 4251 | } |
| 4252 | |
| 4253 | async fn get_doc() -> Json<DocResponse> { |
| 4254 | Json(DocResponse { |
| 4255 | info: DocInfo { |
| 4256 | title: "opencode".to_string(), |
| 4257 | version: env!("CARGO_PKG_VERSION").to_string(), |
| 4258 | description: "opencode api".to_string(), |
| 4259 | openapi: "3.1.1".to_string(), |
| 4260 | }, |
| 4261 | }) |
| 4262 | } |
| 4263 | |
| 4264 | // --- /log endpoint: accepts a log entry and writes it via tracing --- |
| 4265 |
nothing calls this directly
no outgoing calls
no test coverage detected