Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return "minimal viable" search response #5

Merged
merged 1 commit into from
Sep 5, 2023
Merged

Return "minimal viable" search response #5

merged 1 commit into from
Sep 5, 2023

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Sep 5, 2023

Finder Frontend expects at a minimum a response containing an array of results, a total result count, and a start index. This adds a hardcoded zero results response for any query that is just enough to be able to be displayed by it.

  • Add necessary fields to search endpoint response
  • Add basic OpenAPI schema to docs

Finder Frontend expects at a minimum a response containing an array of
results, a total result count, and a start index. This adds a hardcoded
zero results response for any query that is just enough to be able to be
displayed by it.

- Add necessary fields to search endpoint response
- Add basic OpenAPI schema to docs
@csutter csutter merged commit 8a6ed93 into main Sep 5, 2023
3 checks passed
@csutter csutter deleted the zero-results branch September 5, 2023 15:27
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.

1 participant