Add endpoints for tags

This commit is contained in:
Tobias Reisinger 2023-11-30 03:24:13 +01:00
parent c8f40284ef
commit 8d996888bd
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
10 changed files with 141 additions and 18 deletions
emgauwa-core/src/handlers/v1

View file

@ -13,7 +13,6 @@ use crate::handlers::errors::ApiError;
pub struct RequestSchedule {
name: String,
periods: DbPeriods,
#[serde(default)] // empty tags are allowed
tags: Vec<String>,
}