mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-29 00:59:58 -07:00
global: snapshot
This commit is contained in:
@@ -58,7 +58,8 @@ impl ApiRoutes for ApiRouter<AppState> {
|
||||
.await
|
||||
},
|
||||
|op| {
|
||||
op.server_tag()
|
||||
op.id("get_version")
|
||||
.server_tag()
|
||||
.summary("API version")
|
||||
.description("Returns the current version of the API server")
|
||||
.ok_response::<String>()
|
||||
@@ -77,7 +78,8 @@ impl ApiRoutes for ApiRouter<AppState> {
|
||||
})
|
||||
},
|
||||
|op| {
|
||||
op.server_tag()
|
||||
op.id("get_health")
|
||||
.server_tag()
|
||||
.summary("Health check")
|
||||
.description("Returns the health status of the API server")
|
||||
.ok_response::<Health>()
|
||||
|
||||
Reference in New Issue
Block a user