Merge branch 'main' into feat/trigger

This commit is contained in:
lyzno1
2025-11-06 15:25:19 +08:00
committed by GitHub
11 changed files with 70 additions and 9 deletions

View File

@ -112,7 +112,18 @@ class DraftWorkflowApi(Resource):
},
)
)
@api.response(200, "Draft workflow synced successfully", workflow_fields)
@api.response(
200,
"Draft workflow synced successfully",
api.model(
"SyncDraftWorkflowResponse",
{
"result": fields.String,
"hash": fields.String,
"updated_at": fields.String,
},
),
)
@api.response(400, "Invalid workflow configuration")
@api.response(403, "Permission denied")
@edit_permission_required