feat: API specs update for version latest#67
Conversation
Greptile SummaryThis automated spec update introduces a full dedicated-database management API surface (
Confidence Score: 4/5
Important Files Changed
Reviews (6): Last reviewed commit: "chore: update API specs and SDK examples" | Re-trigger Greptile |
| "url": "https:\/\/cloud.appwrite.io\/v1", | ||
| "description": "Appwrite Cloud endpoint." | ||
| }, | ||
| { | ||
| "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" | ||
| "url": "https:\/\/{region}.cloud.appwrite.io\/v1", | ||
| "description": "Appwrite Cloud regional endpoint. Replace `{region}` with your project region.", | ||
| "variables": { | ||
| "region": { | ||
| "default": "fra", | ||
| "description": "Appwrite Cloud region." | ||
| } |
There was a problem hiding this comment.
endpointDocs URL uses old <REGION> placeholder while server URL uses {region}
The server object's second URL was correctly migrated to the OpenAPI 3.0 server-variable syntax ({region}), but the new x-appwrite.endpointDocs extension field still uses the old angle-bracket format (<REGION>). Any tooling or SDK generator that reads endpointDocs to construct URLs will produce a malformed string rather than a valid regional endpoint.
This same inconsistency appears in all six spec files (open-api3-latest-client.json, swagger2-latest-server.json, etc.).
cb40a17 to
86ebe03
Compare
86ebe03 to
d48bae0
Compare
This PR contains API specification updates for version latest.