Skip to content

fix: use endpoint-specific sort parameters for entities and files#9

Open
johnf wants to merge 1 commit intomainfrom
fix/endpoint-specific-sort-params
Open

fix: use endpoint-specific sort parameters for entities and files#9
johnf wants to merge 1 commit intomainfrom
fix/endpoint-specific-sort-params

Conversation

@johnf
Copy link
Copy Markdown
Collaborator

@johnf johnf commented Mar 27, 2026

Summary

  • Replace shared sort parameter with endpoint-specific sort parameters for entities and files

Test plan

  • Verify the OpenAPI spec validates correctly
  • Confirm each endpoint has appropriate sort options

Replace shared SortParameter with EntitySortParameter (id, name,
createdAt, updatedAt) and FileSortParameter (id, filename, createdAt,
updatedAt) so each endpoint only exposes valid sort fields.
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