// simulated_dir=gears/simple-resource-registry/simple-resource-registry/src/api/rest

use toolkit::api::OperationBuilder;

fn test_operations() {
    let router1: OperationBuilder<_, _, ()> =
        // Should trigger DE0205 - Operation builder
        OperationBuilder::post("/resources").operation_id("create_resource");

    let router2: OperationBuilder<_, _, ()> =
        // Should trigger DE0205 - Operation builder
        OperationBuilder::get("/resources/{id}").operation_id("get_resource");

    _ = router1;
    _ = router2;
}

fn main() {
    test_operations();
}
