Added some API doc comments
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
use poem::handler;
|
||||
|
||||
/// Health check endpoint.
|
||||
///
|
||||
/// Returns a static "ok" response to indicate the server is running.
|
||||
#[handler]
|
||||
pub fn health() -> &'static str {
|
||||
"ok"
|
||||
|
||||
Reference in New Issue
Block a user