Skip to content

Conversation

@RyanDotsikas
Copy link
Contributor

@RyanDotsikas RyanDotsikas commented Apr 22, 2025

Description

It appears that the GET /files endpoint has had incorrect query param details in the OpenAPI spec for quite some time (as raised in a help files thread here). The example for the sort parameter is incorrect, and it was missing the direction parameter entirely. I have simply removed DESC from the sort example, and added a direction param with correct values and example.

Release Notes

This is required so that the OpenAPI Spec/API Explorer properly reflects the actual endpoint, as can be seen raised in this slack help-files request: https://xero.slack.com/archives/C6HHK280L/p1744363800251299

Screenshots (if appropriate):

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@github-actions
Copy link

PETOSS-737

@github-actions
Copy link

Thanks for raising an issue, a ticket has been created to track your request

@sangeet-joy-tw sangeet-joy-tw merged commit e57da44 into XeroAPI:master Jun 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants