Skip to content

spec(cddl): allow empty buckets array in explore-facet-result (#34) - #106

Merged
mindpower merged 1 commit into
mainfrom
fix-cddl-explore-facet-buckets
Oct 11, 2026
Merged

mindpower merged 1 commit into
mainfrom
fix-cddl-explore-facet-buckets

Conversation

@mindpower

@mindpower mindpower commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #34

Summary

The v0.91 update already changed search-response.results, search-response.referrals, and list-response.items in spec/schemas/ard.cddl from [+ ...] to [* ...] so zero-result responses are valid.

This PR updates the remaining Registry API response collection noted in #34 (explore-facet-result.buckets) from [+ explore-facet-bucket] to [* explore-facet-bucket], matching spec/schemas/ard.openapi.yaml when a facet query matches zero entries or returns no buckets.

@mindpower
mindpower merged commit 6e2efb7 into main Oct 11, 2026
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.

Spec proposal: align CDDL registry response arrays with zero-result responses

1 participant