Module string_utils

Source

Functionsยง

discover
Return the list of all the functions with the #[utoipa] attribute and the list of all the structs with the #[derive(ToSchema)] attribute and the list of all the structs with the #[derive(ToResponse)] attribute
extract_paths
Extract the file paths from the attributes Support the old syntax (MODULE_TREE_PATH => MODULE_SRC_PATH) ; (MODULE_TREE_PATH => MODULE_SRC_PATH) ; and the new syntax MODULE_SRC_PATH, MODULE_SRC_PATH
rem_first_and_last
trim_parentheses
trim_whites