Repository navigation
Infer SDK method types from OpenAPI - #1871
Conversation
Greptile SummaryCentralizes SDK method-type inference in the base language adapter and derives upload, GraphQL, location, and web-auth behavior from standard OpenAPI structures instead of
Confidence Score: 5/5The PR appears safe to merge because no outstanding defects or repository-rule violations remain. The referenced-schema issue is fixed by resolving schemas before binary checks, and extension-free GraphQL coverage is now present. ChiragAgg5k intentionally dismissed the legacy-extension compatibility concern because standard OpenAPI structure is now the exclusive supported contract and verified supported specifications retain output parity. No changes were made after the previous review. Important Files Changed
Reviews (9): Last reviewed commit: "refactor: remove legacy method type fall..." | Re-trigger Greptile |
|
@greptile review |
|
@greptile review |
1 similar comment
|
@greptile review |
Summary
x-appwrite.typereads across language and CLI codex-appwrite.typecompletely from the e2e specification fixturex-appwrite.typefallback so method behavior is determined exclusively from standard OpenAPI fieldsInference
upload: multipart request containing a binary string propertylocation: successful response containing a binary string schemawebAuth: redirect response containing a binary string schemagraphql: operation taggedgraphqlValidation
composer lintcomposer refactor:checkcomposer lint-twiggofmtand generated Rust with rustfmt 1.83.0This enables a follow-up Appwrite PR to remove
x-appwrite.typefrom generated specifications entirely.Related to CLO-4377.