Skip to content

Commit

Permalink
reformat content
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Aug 13, 2024
1 parent f7d56c4 commit f66dd1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ The `inputs` section specifies the sources from which the GraphQL configuration
5. **method (Optional):** Specify the HTTP method for the request (e.g. GET, POST, PUT, DEL). If not provided, the default method is `GET`.
6. **isMutation (Optional):** This flag indicates whether the request should be treated as a GraphQL Mutation. Set `isMutation` to `true` to configure the request as a `Mutation`. If not specified or set to false, the request will be treated as a `Query by default`.

**1. Query Operation:** To define a GraphQL Query, either omit the isMutation property or set it to false. By default, if isMutation is not provided, the request will be configured as a Query.
2. **Query Operation:** To define a GraphQL Query, either omit the isMutation property or set it to false. By default, if isMutation is not provided, the request will be configured as a Query.

<Tabs>
<TabItem value="json" label="JSON">
Expand Down Expand Up @@ -265,7 +265,7 @@ The `inputs` section specifies the sources from which the GraphQL configuration
}
```

**2. Mutation Operation:** To define a GraphQL Mutation, set `isMutation` to `true` and provide the necessary` request body, method, isMutation and headers.`
3. **Mutation Operation:** To define a GraphQL Mutation, set `isMutation` to `true` and provide the necessary` request body, method, isMutation and headers.`

<Tabs>
<TabItem value="json" label="JSON">
Expand Down Expand Up @@ -325,7 +325,7 @@ The `inputs` section specifies the sources from which the GraphQL configuration
}
```

2. **Proto:** For protobuf files, specify the path to the proto file (`src`).
4. **Proto:** For protobuf files, specify the path to the proto file (`src`).

<Tabs>
<TabItem value="json" label="JSON">
Expand Down

0 comments on commit f66dd1a

Please sign in to comment.