Skip to content

Commit

Permalink
fix(docs): improve the doc by providing sample inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutimantri committed Jul 9, 2024
1 parent d20198e commit 5adcb3d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main/java/io/kestra/plugin/mongodb/Bulk.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@
@Getter
@NoArgsConstructor
@Schema(
title = "Execute [Bulk](https://www.mongodb.com/docs/manual/reference/method/Bulk/) request in MongoDB."
title = "Execute [Bulk](https://www.mongodb.com/docs/manual/reference/method/Bulk/) request in MongoDB.",
description = """
Here are the sample file contents that can be provided as input to Bulk task:
```
{ "insertOne" : {"firstName": "John", "lastName": "Doe", "city": "Paris"}}
{ "insertOne" : {"firstName": "Ravi", "lastName": "Singh", "city": "Mumbai"}}
{ "deleteMany": {"filter": {"city": "Bengaluru"}}}
```
"""
)
@Plugin(
examples = {
Expand Down

0 comments on commit 5adcb3d

Please sign in to comment.