Set whether to allow unknown properties not defined in schema
(&mut self, allow: bool)
| 352 | |
| 353 | /// Set whether to allow unknown properties not defined in schema |
| 354 | pub fn set_allow_unknown_properties(&mut self, allow: bool) { |
| 355 | self.set_parameter( |
| 356 | "schema_allow_unknown_properties".to_string(), |
| 357 | Value::Boolean(allow), |
| 358 | ); |
| 359 | } |
| 360 | |
| 361 | /// Get whether to allow unknown properties (default: false in strict mode, true otherwise) |
| 362 | pub fn get_allow_unknown_properties(&self) -> bool { |
nothing calls this directly
no test coverage detected