package cn.stylefeng.workflow.design.modular.controller;

import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData;
import cn.stylefeng.roses.kernel.rule.pojo.response.SuccessResponseData;
import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import cn.stylefeng.workflow.api.entity.design.Node;
import org.springframework.web.bind.annotation.RestController;

@RestController
@ApiResource(name = "demo流程节点")
public class NodeExampleController {

    @GetResource(name = "获取流程节点的配置详情", path = "/nodeExample/getNodeDetail")
    public ResponseData<Node> getNodeDetail() {
        return new SuccessResponseData<>();
    }

}
