Skip to content

Commit 0be8e91

Browse files
fix: simplify Relation description
1 parent 1eba56b commit 0be8e91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/config/src/rule/relational_rule.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ use std::collections::HashSet;
1212

1313
#[derive(Serialize, Deserialize, Clone, JsonSchema)]
1414
#[serde(rename_all = "camelCase")]
15+
#[schemars(
16+
description = "A relational rule object, which is a Rule object with two additional fields stopBy and field."
17+
)]
1518
pub struct Relation {
1619
#[serde(flatten)]
1720
pub rule: SerializableRule,

0 commit comments

Comments
 (0)