fix: allow empty parameter specs in schema (#229)
Some checks failed
CI / Generate schema (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled

This commit is contained in:
Riley Bruins 2025-08-10 20:35:47 -07:00 committed by GitHub
parent 95e3e5486e
commit 69f4c45a51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View file

@ -162,8 +162,7 @@
"type": "array",
"items": {
"$ref": "#/definitions/PredicateParameter"
},
"minItems": 1
}
}
}
},

View file

@ -211,7 +211,6 @@ pub struct Predicate {
/// A short description of the predicate (in Markdown format).
pub description: String,
/// The list of valid parameter types.
#[cfg_attr(feature = "schema", schemars(length(min = 1)))]
pub parameters: Vec<PredicateParameter>,
}