feat: API specs update for version 2.2.x - #115
Conversation
|
| OAuthProvider.AMAZON, // provider | ||
| "https://example.com", // success (optional) | ||
| "https://example.com", // failure (optional) | ||
| List.of(), // scopes (optional) |
There was a problem hiding this comment.
Missing Java Collection Imports
This example calls List.of(...), but its import block does not import java.util.List. Copying the snippet therefore fails to compile with cannot find symbol: List. This affects dozens of the new Android Java snippets, including account/update-prefs.md, which omits java.util.Map, and vectorsdb/upsert-document.md, which omits both collection imports. The generator should add the required imports throughout the 2.2.x Android Java examples.
Prompt To Fix With AI
This is a comment left during a code review.
Path: examples/2.2.x/client-android/java/account/create-o-auth-2-session.md
Line: 19
Comment:
**Missing Java Collection Imports**
This example calls `List.of(...)`, but its import block does not import `java.util.List`. Copying the snippet therefore fails to compile with `cannot find symbol: List`. This affects dozens of the new Android Java snippets, including `account/update-prefs.md`, which omits `java.util.Map`, and `vectorsdb/upsert-document.md`, which omits both collection imports. The generator should add the required imports throughout the 2.2.x Android Java examples.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
This PR contains API specification updates for version 2.2.x.