From c8a6d739a713745d391c0c24267980539b4fc612 Mon Sep 17 00:00:00 2001 From: ryanduguid Date: Thu, 6 Aug 2026 22:37:37 +1000 Subject: [PATCH 1/2] fix(files): remove invalid FileObject requirements --- xero_files.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xero_files.yaml b/xero_files.yaml index b99cf8afc..667948578 100644 --- a/xero_files.yaml +++ b/xero_files.yaml @@ -703,11 +703,6 @@ components: $ref: "#/components/schemas/FileObject" FileObject: type: object - required: - - id - - name - - manufacturer - - releaseDate properties: Name: description: File Name From f47a4b4658ca764277a00531493932b559c83874 Mon Sep 17 00:00:00 2001 From: Ryan Duguid <152749594+ryanduguid@users.noreply.github.com> Date: Wed, 19 Aug 2026 15:05:22 +1000 Subject: [PATCH 2/2] fix(files): correct Folder required property casing to Name The Folder schema declared `required: [name]` while its matching property is `Name`, so POST /Folders rejected the spec's own documented body {"Name": "My Docs"} with "'name' is a required property". Corrects the casing rather than dropping the requirement, matching the fix on fix/files-folder-required-property so the two branches stay semantically consistent. redocly lint no-required-schema-properties-undefined for xero_files.yaml: 5 on master, 1 on this branch before the change, 0 after. --- xero_files.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xero_files.yaml b/xero_files.yaml index 3a28a7854..b36b46866 100644 --- a/xero_files.yaml +++ b/xero_files.yaml @@ -788,7 +788,7 @@ components: $ref: "#/components/schemas/Folder" Folder: required: - - name + - Name properties: Name: description: The name of the folder