From 3ffb57aac32a6eebdf9b419ffca5a05a2ecd2414 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Tue, 19 Sep 2023 12:22:51 +0300 Subject: [PATCH] add docs --- src/cat-data-service/src/service/api/health/mod.rs | 3 +++ src/cat-data-service/src/service/api/registration/mod.rs | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/cat-data-service/src/service/api/health/mod.rs b/src/cat-data-service/src/service/api/health/mod.rs index 04022feeb2..0200feeeb6 100644 --- a/src/cat-data-service/src/service/api/health/mod.rs +++ b/src/cat-data-service/src/service/api/health/mod.rs @@ -1,3 +1,6 @@ +//! Health endpoints, which return the status of the service. +//! Mostly used by Grafana. +//! use crate::service::common::tags::ApiTags; use poem_openapi::OpenApi; diff --git a/src/cat-data-service/src/service/api/registration/mod.rs b/src/cat-data-service/src/service/api/registration/mod.rs index 40bf32b3a7..defc4e607b 100644 --- a/src/cat-data-service/src/service/api/registration/mod.rs +++ b/src/cat-data-service/src/service/api/registration/mod.rs @@ -1,3 +1,5 @@ +//! Registration endpoints, which return relevant voter's registration information. +//! use crate::service::common::objects::{ event_id::EventId, voter_registration::VoterRegistration, voting_public_key::VotingPublicKey, };