Skip to content

Conversation

@haydenhoang
Copy link
Contributor

@haydenhoang haydenhoang commented Dec 9, 2025

Change Summary

The response for analytics rule create many is an array containing analytics rule schemas or error schemas.

It's either a success or an error so oneOf is the correct one here since anyOf allow the response to satisfy both schemas. Documentation

Also corrected the schema for curation set and synonym set retrieve one

PR Checklist

@haydenhoang haydenhoang changed the title Use oneOf instead of anyOf Use oneOf instead of anyOf & correct schema for curation set retrieve one Dec 9, 2025
@haydenhoang haydenhoang changed the title Use oneOf instead of anyOf & correct schema for curation set retrieve one Use oneOf instead of anyOf & correct schema for curation set/synonym set retrieve one Dec 10, 2025
@jasonbosco jasonbosco merged commit 76d1b27 into typesense:master Dec 10, 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.

3 participants