fix: flag schema derive on schemars feature (#966)
This commit is contained in:
parent
9e3de344f4
commit
60d3e77f52
1 changed files with 3 additions and 3 deletions
|
|
@ -66,7 +66,7 @@ macro_rules! object {
|
|||
/// without returning any specific data.
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Copy, Eq)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
#[cfg_attr(feature = "server", derive(schemars::JsonSchema))]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[expect(clippy::exhaustive_structs, reason = "intentionally exhaustive")]
|
||||
pub struct EmptyObject {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue