Skip to content

feat: API specs update for version 2.2.x - #115

Merged
ChiragAgg5k merged 1 commit into
mainfrom
feat-2.2.x-specs
Sep 18, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
feat-2.2.x-specs

Conversation

@appwrite-specifications

Copy link
Copy Markdown
Contributor

This PR contains API specification updates for version 2.2.x.

@greptile-apps

greptile-apps Bot commented Sep 18, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

The PR should not merge until the generated Android Java snippets import the collection types they reference.

Fix All in Claude CodeFindings

  1. P1 Missing Java Collection Imports
Fix with agent prompt
### Issue 1
examples/2.2.x/client-android/java/account/create-o-auth-2-session.md:19
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.

Summary

This PR adds the version 2.2.x OpenAPI specification and a large generated set of SDK, REST, GraphQL, and CLI examples.

  • Introduces the 2.2.x API contract.
  • Adds examples across client, server, console, and mobile SDK targets.
  • One widespread Android Java generation defect leaves collection types unimported, making affected snippets fail to compile when copied.

Reviews (1) · Last reviewed commit: "chore: add 2.2.x API specs and SDK examp..."

OAuthProvider.AMAZON, // provider
"https://example.com", // success (optional)
"https://example.com", // failure (optional)
List.of(), // scopes (optional)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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.

Fix in Claude Code Fix in Codex

@ChiragAgg5k
ChiragAgg5k merged commit 19b780b into main Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant