Refactoring du cache pour une meilleur gestion des metadonnées

This commit is contained in:
2025-10-26 09:18:48 +01:00
parent 9d15d2a127
commit 33761f1cef
25 changed files with 701 additions and 277 deletions

View File

@@ -70,9 +70,7 @@ where
(status = 200, description = "Configuration complète", body = serde_json::Value)
)
)]
async fn get_full_config(
State(config): State<Arc<Config>>,
) -> Result<Json<JsonValue>, ApiError> {
async fn get_full_config(State(config): State<Arc<Config>>) -> Result<Json<JsonValue>, ApiError> {
let value = config.get_value(&[])?;
let json_value = yaml_to_json(&value)?;
Ok(Json(json_value))