Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: conflict with serde deny_unknown_fields attr (#1015)
* fix: conflict with serde deny_unknown_fields attr When `#[serde(deny_unknown_fields)]` was used, the compilation failed with: ``` 64 | #[derive(Debug, Serialize, Deserialize, ToSchema)] | ^^^^^^^^ could not find `schema` in `salvo` | = note: this error originates in the derive macro `ToSchema` (in Nightly builds, run with -Z macro-backtrace for more info) ``` * Remove Some
- Loading branch information