Skip to content

Commit 5a74549

Browse files
committed
code review
1 parent f3f3b11 commit 5a74549

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/upgrade-to-v6.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Message singleMessage = graphClient.me().messages().byMessageId("<Message Id>").
155155

156156
The `Option` class has been removed and is no longer used to define query parameters, headers, or function parameters. These classes have been replaced with more specific and intuitive implementations.
157157

158-
### Headers
158+
#### Headers
159159
Passing headers to requests has changed in v6. The `HeaderOption` class, which extends the `Option` class, has been removed and is no longer used to define headers.
160160
Previously a user would pass headers to a request as follows:
161161
```java
@@ -173,7 +173,7 @@ User user = graphClient.users().byUserId("<User Id>").get(requestConfiguration -
173173
});
174174
```
175175

176-
### Query Parameter Options
176+
#### Query Parameter Options
177177

178178
Passing query parameters to requests has changed in v6. The `QueryOption` class, which extends the `Option` class, has been removed and is no longer used to define query parameters.
179179
Previously a user would pass query parameters to a request as follows:
@@ -241,7 +241,7 @@ try {
241241

242242
### Drive Item Paths
243243

244-
The current CSDL to OpenAPI conversion process avoids generation of redundant paths, which impacts request builders for driveItems. To mitigate this paths should be available through alternative paths as documented in the reference documentation as seen [here](https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0&tabs=http#http-request).
244+
The SDK generation process avoids generation of redundant paths, which impacts request builders for driveItems. To mitigate this paths should be available through alternative paths as documented in the reference documentation as seen [here](https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0&tabs=http#http-request).
245245

246246
Examples of using alternative paths are as shown below.
247247

0 commit comments

Comments
 (0)