use crate::schemas::InputMetric; use crate::endpoints::rest::{__path_model_rest_handler, __path_settings_handler}; use utoipa::OpenApi; #[derive(OpenApi)] #[openapi( info( title = "ML-API", version = "0.1.0", description = "API for communication with the Model", contact( name = "Vladislav Drozdov", email = "_@_", url = "https://___" ) ), paths(model_rest_handler, settings_handler), components( schemas(InputMetric) ), tags( (name = "models", description = "API for communication with the Model") ) )] pub struct ApiDoc;