cargo format
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 33s
CI / Web Blocking Checks (push) Failing after 29s
CI / Security Blocking Checks (push) Successful in 9s
CI / Clippy (push) Failing after 1m59s
CI / Web Advisory Checks (push) Successful in 31s
CI / Security Advisory Checks (push) Successful in 36s
CI / Tests (push) Failing after 8m8s
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 33s
CI / Web Blocking Checks (push) Failing after 29s
CI / Security Blocking Checks (push) Successful in 9s
CI / Clippy (push) Failing after 1m59s
CI / Web Advisory Checks (push) Successful in 31s
CI / Security Advisory Checks (push) Successful in 36s
CI / Tests (push) Failing after 8m8s
This commit is contained in:
@@ -48,7 +48,6 @@ pub struct SaveWorkflowFileRequest {
|
|||||||
/// Tags for categorization
|
/// Tags for categorization
|
||||||
#[schema(example = json!(["deployment", "automation"]))]
|
#[schema(example = json!(["deployment", "automation"]))]
|
||||||
pub tags: Option<Vec<String>>,
|
pub tags: Option<Vec<String>>,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Request DTO for creating a new workflow
|
/// Request DTO for creating a new workflow
|
||||||
@@ -93,7 +92,6 @@ pub struct CreateWorkflowRequest {
|
|||||||
/// Tags for categorization and search
|
/// Tags for categorization and search
|
||||||
#[schema(example = json!(["incident", "slack", "approval"]))]
|
#[schema(example = json!(["incident", "slack", "approval"]))]
|
||||||
pub tags: Option<Vec<String>>,
|
pub tags: Option<Vec<String>>,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Request DTO for updating a workflow
|
/// Request DTO for updating a workflow
|
||||||
@@ -128,7 +126,6 @@ pub struct UpdateWorkflowRequest {
|
|||||||
/// Tags
|
/// Tags
|
||||||
#[schema(example = json!(["incident", "slack", "approval", "automation"]))]
|
#[schema(example = json!(["incident", "slack", "approval", "automation"]))]
|
||||||
pub tags: Option<Vec<String>>,
|
pub tags: Option<Vec<String>>,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Response DTO for workflow information
|
/// Response DTO for workflow information
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ struct ActionYaml {
|
|||||||
/// Tags
|
/// Tags
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
tags: Option<Vec<String>>,
|
tags: Option<Vec<String>>,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── API DTOs ────────────────────────────────────────────────────────────
|
// ── API DTOs ────────────────────────────────────────────────────────────
|
||||||
@@ -399,14 +398,7 @@ async fn handle_list(
|
|||||||
let mut table = output::create_table();
|
let mut table = output::create_table();
|
||||||
output::add_header(
|
output::add_header(
|
||||||
&mut table,
|
&mut table,
|
||||||
vec![
|
vec!["ID", "Reference", "Pack", "Label", "Version", "Tags"],
|
||||||
"ID",
|
|
||||||
"Reference",
|
|
||||||
"Pack",
|
|
||||||
"Label",
|
|
||||||
"Version",
|
|
||||||
"Tags",
|
|
||||||
],
|
|
||||||
);
|
);
|
||||||
|
|
||||||
for wf in &workflows {
|
for wf in &workflows {
|
||||||
|
|||||||
Reference in New Issue
Block a user