-
Notifications
You must be signed in to change notification settings - Fork 3
Match OpenAPI spec according to official docs #8
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
Match OpenAPI spec according to official docs #8
Conversation
Reviewer's Guide by SourceryThis pull request updates the Typesense Elixir client library to match the latest OpenAPI specification. It introduces new query parameters for several API endpoints and updates the type specifications of some function parameters. Class diagram showing updated Documents moduleclassDiagram
class Documents {
+delete_document(collectionName, documentId, opts)
+delete_documents(collectionName, opts)
+export_documents(collectionName, opts)
+get_document(collectionName, documentId, opts)
+import_documents(collectionName, body, opts)
+index_document(collectionName, body, opts)
+search(collectionName, params)
+update_document(collectionName, documentId, body, opts)
+update_documents(collectionName, body, opts)
}
note for Documents "Updated query parameters:
- ignore_not_found
- batch_size
- filter_by
- include_fields
- exclude_fields
- return_id
- remote_embedding_batch_size
- remote_embedding_timeout_ms
- remote_embedding_num_tries
- return_doc
- action
- dirty_values"
Class diagram showing updated Collections moduleclassDiagram
class Collections {
+create_collection(schema, opts)
+delete_collection(collectionName, opts)
+get_collection(collectionName, opts)
+get_collections(opts)
+update_collection(collectionName, body, opts)
}
note for Collections "Updated query parameters:
- src_name
- limit
- offset
- exclude_fields"
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jaeyson - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Pull Request Test Coverage Report for Build 1f4ad408e87eb05fde4f676b6a8f6ea1a18bd879-PR-8Details
💛 - Coveralls |
Fixes #7
Summary by Sourcery
Update API client to match the latest OpenAPI spec.
New Features:
create_collection\n*get_collectionsBug Fixes:
ignore_not_foundoption was not being sent when deleting a document.Enhancements:
delete_documents\n*export_documents\n*get_document\n*import_documents\n*multi_search\n*search\n*update_document\n*update_documentsTests: