mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-21 07:20:41 +00:00
feat: add information to our openapi docs
This commit is contained in:
@@ -242,10 +242,11 @@ impl HttpServer {
|
||||
}
|
||||
|
||||
pub fn make_app(&self) -> Router {
|
||||
// TODO
|
||||
let mut api = OpenApi {
|
||||
info: Info {
|
||||
description: Some("an example API".to_string()),
|
||||
title: "Greptime DB HTTP API".to_string(),
|
||||
description: Some("HTTP APIs to interact with Greptime DB".to_string()),
|
||||
version: HTTP_API_VERSION.to_string(),
|
||||
..Info::default()
|
||||
},
|
||||
..OpenApi::default()
|
||||
|
||||
Reference in New Issue
Block a user