diff --git a/crates/uv-requirements/src/pyproject.rs b/crates/uv-requirements/src/pyproject.rs index a9d74f0d4..fb8d27b6b 100644 --- a/crates/uv-requirements/src/pyproject.rs +++ b/crates/uv-requirements/src/pyproject.rs @@ -109,7 +109,6 @@ pub struct Tool { #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] -#[serde(deny_unknown_fields)] pub struct ToolUv { pub sources: Option>, pub workspace: Option, @@ -117,7 +116,6 @@ pub struct ToolUv { #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] -#[serde(deny_unknown_fields)] pub struct ToolUvWorkspace { pub members: Option>, pub exclude: Option>, diff --git a/uv.schema.json b/uv.schema.json index 3141daeee..f1f7f85e9 100644 --- a/uv.schema.json +++ b/uv.schema.json @@ -58,7 +58,6 @@ ] } }, - "additionalProperties": false, "definitions": { "AnnotationStyle": { "description": "Indicate the style of annotation comments, used to indicate the dependencies that requested each package.", @@ -916,8 +915,7 @@ "$ref": "#/definitions/String" } } - }, - "additionalProperties": false + } } } } \ No newline at end of file