From cbff8b492ff18cb9e3fcd18b71f3ae01d7800e6d Mon Sep 17 00:00:00 2001 From: Simeon Romanov Date: Thu, 19 Oct 2023 20:40:12 +0300 Subject: [PATCH] add comments about autogen'd files --- backend/src/connector/client.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/src/connector/client.rs b/backend/src/connector/client.rs index 146d1268..eeb5d4d6 100644 --- a/backend/src/connector/client.rs +++ b/backend/src/connector/client.rs @@ -8,7 +8,11 @@ //! This file was modified in order to get rid of the "swagger" crate, which brings //! a lot of unnecessary dependencies (for example, openssl, which can cause problems //! when creating docker images, even if we use only the http client). In addition, -//! some refactoring was done to reduce the code size (from 2k-ish LOC to 500). +//! some refactoring was done in order to: +//! 1. Reduce the code size (from 2k-ish LOC to 500). +//! 2. Provide new functionality, e.g. adding authorization (and other) headers for +//! new requests +//! 3. Unify error handling with `error_stack` //! #![allow(