use actix_web::{Scope, web::scope};

pub mod flavor_group;
use flavor_group::flavor_groups_scope;
mod flavor;
use flavor::flavors_scope;
mod usage;
use usage::usage_scope;

pub fn resources_scope() -> Scope {
    scope("/resources")
        .service(flavor_groups_scope())
        .service(flavors_scope())
        .service(usage_scope())
}
