From cb35e389fce45c5a0e8a592e671753b1261c0f8b Mon Sep 17 00:00:00 2001 From: Evance Soumaoro Date: Thu, 29 Jun 2023 18:06:47 +0000 Subject: [PATCH] remove commented code --- quickwit/quickwit-serve/src/elastic_search_api/filter.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quickwit/quickwit-serve/src/elastic_search_api/filter.rs b/quickwit/quickwit-serve/src/elastic_search_api/filter.rs index d8a76d7602b..7d0c21a3023 100644 --- a/quickwit/quickwit-serve/src/elastic_search_api/filter.rs +++ b/quickwit/quickwit-serve/src/elastic_search_api/filter.rs @@ -29,8 +29,8 @@ use crate::elastic_search_api::model::{ElasticIngestOptions, SearchBody, SearchQ const BODY_LENGTH_LIMIT: Byte = byte_unit::Byte::from_bytes(1_000_000); const CONTENT_LENGTH_LIMIT: Byte = byte_unit::Byte::from_bytes(10 * 1024 * 1024); // 10MiB -// TODO: make the models utoipa compatible and register -// all endpoints in the docs here. +// TODO: Make all endpoint models `utoipa` compatible +// and register them here. #[derive(utoipa::OpenApi)] #[openapi(paths(elastic_info_filter,))] pub struct ElasticCompatibleApi; @@ -40,7 +40,6 @@ pub(crate) fn elastic_info_filter() -> impl Filter