feat(workflow): example covers security, platform, enterprise and resilience features
105 route tests, matrix crawl, spec and README updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -186,6 +186,13 @@ void register_ops_demo(fw::Router& router, Services& services) {
|
||||
return fw::JsonResponse(body, 200);
|
||||
});
|
||||
|
||||
router.get("/workflow/release", "workflow-usage", [](fw::Request req) {
|
||||
(void)req;
|
||||
return fw::JsonResponse(
|
||||
"{\"usage\":\"POST commits=feat: add x|fix: y (Conventional "
|
||||
"Commits separated by |)\",\"base_version\":\"0.1.0\"}",
|
||||
200);
|
||||
});
|
||||
router.post("/workflow/release", "workflow", [](fw::Request req) {
|
||||
auto input = fw::parse_json_object_flat(req.body);
|
||||
if (input.empty()) input = fw::parse_form(req.body);
|
||||
|
||||
Reference in New Issue
Block a user