Commit graph

97 commits

Author SHA1 Message Date
Chirag Aggarwal
53c74582fc refactor: simplify request parameter spec overrides 2026-04-13 10:33:46 +05:30
Chirag Aggarwal
78bbe77580 fix: align project sdk spec generation 2026-04-13 10:33:45 +05:30
Chirag Aggarwal
05dc264df9 remove specs task HTTP bootstrap 2026-04-09 10:41:04 +05:30
Matej Bačo
cea242c66f Merge branch '1.9.x' into feat-public-platform-api 2026-04-08 09:29:54 +02:00
Chirag Aggarwal
dd4a43b78c fix: throw RuntimeException for unresolved response models in spec generation
Spec generation silently produced a fatal error when a response model
string could not be resolved to a registered model object. Now throws a
clear RuntimeException in both Swagger2 and OpenAPI3 formats, for both
single and array model responses.

Also adds a CI job to run spec generation on every PR so unresolved
models are caught before merge.
2026-04-08 10:41:43 +05:30
Matej Bačo
331fcee710 Merge branch '1.9.x' into feat-public-platform-api 2026-04-07 10:43:11 +02:00
Chirag Aggarwal
5d1da00138 refactor: remove redundant desc guards 2026-04-05 20:12:25 +05:30
Chirag Aggarwal
66e68aea14 fix: fail specs when docs are missing 2026-04-05 19:37:29 +05:30
Matej Bačo
b554243447 Merge branch '1.9.x' into feat-public-platform-api 2026-04-01 13:35:46 +02:00
Chirag Aggarwal
1788e1bd6c Address PR review feedback 2026-04-01 11:15:59 +05:30
Chirag Aggarwal
f2ea0b9b48 Fix PHPStan baseline cleanup issues (part 2) 2026-04-01 10:20:20 +05:30
Matej Bačo
038f4b5992 More backwards compatibility fixes 2026-03-24 13:33:15 +01:00
Matej Bačo
875637bf35
Merge pull request #11533 from appwrite/feat-user-impersonation
Add impersonation feature for user management
2026-03-20 16:13:51 +01:00
Jake Barnby
fb21211ae8 fix: return \$sequence as string and add V21 backward-compat filters 2026-03-20 13:08:19 +13:00
eldadfux
efeb3b4a00 fixes 2026-03-19 23:02:41 +01:00
Jake Barnby
c91252d94c Switch types 2026-02-25 21:42:28 +13:00
Jake Barnby
62d03199b6 Force ID as int 2026-02-25 20:44:44 +13:00
Jake Barnby
2c5806d1e7 Revert "fix: revert accidentally committed working tree changes"
This reverts commit a3503f4124.

# Conflicts:
#	composer.lock
2026-02-18 21:45:54 +13:00
Jake Barnby
a3503f4124 fix: revert accidentally committed working tree changes
Reverts composer.lock (database 5.3.0→5.2.1), Model.php TYPE_ID,
Document.php/Row.php $sequence type changes, and OpenAPI/Swagger
id type additions that were unintentionally included in dd1a3d82.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 20:58:54 +13:00
Jake Barnby
dd1a3d8222 fix: adjust testCreateIndexes index count for MongoDB maxIndexLength=1024
MongoDB's maxIndexLength (1024) allows the 512+512 index to succeed,
resulting in 5 indexes instead of 4. Use conditional count and
assertContains for position-independent key checks.

Verified: 830/830 Database tests pass locally on MongoDB with paratest.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 19:59:20 +13:00
loks0n
cb66e50612 refactor: remove magic class strings 2026-01-27 11:58:34 +00:00
Darshan
75696a21bf update: remove excluded keys from descriptions. 2026-01-15 11:56:19 +05:30
Darshan
bc6ecbd22c address comments. 2026-01-14 17:15:33 +05:30
Darshan
6cd19bf330 address comment for key values on enums. 2026-01-14 16:42:30 +05:30
Darshan
0ec515779e update: address comments.
regen: specs.
2026-01-14 15:29:30 +05:30
Darshan
91240e0ca7 update: address comments.
regen: specs.
2026-01-14 15:10:42 +05:30
Darshan
f482e6de68 update: specs generation to exclude mock auth providers. 2026-01-14 14:58:22 +05:30
Chirag Aggarwal
ae6df78020 Add int64 format support for integer attributes
This change adds int64 format specification to integer attribute min/max values in the API response models and updates all OpenAPI/Swagger specifications accordingly. This ensures proper type handling for large integer values that exceed int32 range in client SDKs.

Changes:
- Add 'format: int64' to min/max fields in AttributeInteger and ColumnInteger models
- Regenerate OpenAPI 3.x and Swagger 2.x specs for all platforms (client, console, server)
- Update composer dependencies
2026-01-13 17:00:20 +05:30
Chirag Aggarwal
c6b6b7cdac fix: edit field 2025-12-15 21:41:17 +05:30
Chirag Aggarwal
5daacb7161 Refactor Specs task for better code organization
- Extract platform, auth counts, and keys into separate methods
- Add getPlatforms(), getAuthCounts(), and getKeys() methods
- Extract SDK platform logic into getSDKPlatformsForRouteSecurity()
- Add PHPDoc comments with proper type hints
- Move constructor to top of class for better readability
2025-12-14 11:21:44 +05:30
Chirag Aggarwal
aa12ef6569 Add public visibility control for deprecated methods
- Add 'public' parameter to SDK Method class to control documentation visibility
- Mark deprecated methods as non-public (public: false) to hide them from docs
- Update OpenAPI and Swagger specs to reflect visibility changes
- Affected endpoints: account verification, messaging providers, and MFA authenticators
2025-12-11 13:53:34 +05:30
Chirag Aggarwal
68ffa5258c fix: roles enum 2025-12-03 12:04:30 +05:30
Chirag Aggarwal
8fe1ec48d0 chore: browser permissions enum 2025-12-03 09:28:39 +05:30
Chirag Aggarwal
aaafdaae52 chore: better examples 2025-12-01 19:21:49 +05:30
Chirag Aggarwal
3bbd87ecb2 fix: openapi too 2025-11-13 16:05:27 +05:30
Jake Barnby
97f76899bf
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	app/config/platforms.php
2025-09-25 18:00:07 +12:00
Chirag Aggarwal
84a4ef0baf chore: include response model enum names 2025-09-23 10:47:39 +05:30
Chirag Aggarwal
f9ac0b48c8 fix: use 1.8.x 2025-09-15 10:28:34 +05:30
Jake Barnby
fd6ddf6926
Fix operation spec gen 2025-09-11 23:31:53 +12:00
ArnabChatterjee20k
ac443e3b98 updated database version , sdk version and docs example in openapi with spatial 2025-09-08 23:30:28 +05:30
ArnabChatterjee20k
8f90774540 updated open api and swagger parser for the array of any type 2025-09-05 20:51:15 +05:30
ArnabChatterjee20k
28f7161964 updated example for the specs to have string instead of arrays to solve error during sdk gen 2025-09-05 20:38:46 +05:30
ArnabChatterjee20k
79fcfff4f4 updated specs 2025-09-05 20:04:56 +05:30
ArnabChatterjee20k
ca87bd2237 updated specs 2025-09-05 19:16:26 +05:30
ArnabChatterjee20k
55b68e45e4 pr followups 2025-09-05 18:35:09 +05:30
ArnabChatterjee20k
c2f61c1998 updated specs 2025-09-05 18:26:07 +05:30
ArnabChatterjee20k
3b0d02e9b0 updated the spatial specs 2025-09-05 18:13:51 +05:30
ArnabChatterjee20k
97a28878ca Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-05 16:16:48 +05:30
ArnabChatterjee20k
4ed42d3304 updated request and response model 2025-09-05 16:15:17 +05:30
Chirag Aggarwal
a47d581eea fix: specs 2025-09-04 22:45:46 +05:30