Commit graph

139 commits

Author SHA1 Message Date
Bishwajeet Parhi
61a37a9a48
Update src/Appwrite/Specification/Format/OpenAPI3.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-08-11 22:46:24 +05:30
Matej Bačo
d219085196 More PR review changes 2023-08-11 17:17:32 +02:00
Bishwajeet Parhi
5c8618410b chore: implement blacklist and regenerate specs 2023-08-11 13:13:46 +05:30
Matej Bačo
2bbdbaebd3 Upgrade SDKs 2023-08-06 21:14:25 +02:00
Matej Bačo
906f86fbb8 Merge branch 'cloud-1.4.x' into feat-git-integration 2023-08-06 09:31:32 +02:00
Bishwajeet Parhi
5f1a515f00 Merge remote-tracking branch 'upstream/1.4.x' into feat-whitelist-enums 2023-08-04 19:20:44 +05:30
prateek banga
4dc8976863 add queries type for sdk generation 2023-08-04 14:53:56 +05:30
Bishwajeet Parhi
faece71145 ignore adding enums for users/usage providers param 2023-07-19 21:47:23 +05:30
Bishwajeet Parhi
9c6956b947 update specs 2023-07-18 21:56:27 +05:30
Bishwajeet Parhi
8f851aaa53 chore: refactor avatar, flags, credit-cards and update spec 2023-07-18 20:00:19 +05:30
Bishwajeet Parhi
3616756f50 chore: add x-enum-name param 2023-07-13 21:51:22 +05:30
Bishwajeet Parhi
1d528d669e feat-whitelist-enums 2023-06-14 10:53:59 +05:30
Matej Bačo
6e515e3cc4 Copy Khushboo's integration from feat-peach-q1-kh 2023-05-22 12:58:13 +02:00
fogelito
0460b59cdc Namespace Changes 2023-04-27 14:59:05 +03:00
Torsten Dittmann
2f1dda891b fix: specs generation for nullable params 2023-03-13 15:54:49 +05:30
Torsten Dittmann
2178bfc126 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-database-update-attribute 2023-03-10 18:39:11 +05:30
Torsten Dittmann
cb065e4228 fix: openapi specification 2023-03-10 15:36:10 +05:30
Steven Nguyen
6bdd3906c9
Update specs generator to include offline metadata 2023-02-21 14:50:17 -08:00
Jake Barnby
f6fc9a8d8c
Merge remote-tracking branch 'origin/master' into feat-technical-debt-2
# Conflicts:
#	composer.lock
2023-02-14 14:22:08 +13:00
Bradley Schofield
f5715f4df8 Update Spec generator 2023-01-13 15:43:57 +00:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
Vincent (Wen Yu) Ge
3281b8bbd4 Add meaningful Phone number examples to specs 2022-10-03 15:06:44 +00:00
Matej Bačo
6600f08059 Fix open api test 2022-08-31 13:32:34 +00:00
Jake Barnby
f0bce98d91
Update specs to use const datetime example 2022-08-30 21:38:27 +12:00
Jake Barnby
eb1476b28b Apply validator updates to OpenAPI3 2022-08-22 14:27:17 +12:00
Jake Barnby
7019be987c Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/account.php
#	app/controllers/api/users.php
#	app/controllers/shared/api.php
#	app/workers/deletes.php
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
#	src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Matej Bačo
ebb4d402b7 Linter fix 2022-08-16 11:41:49 +00:00
Matej Bačo
eaf9cd59e9 Fix OpenAPI3 nested anyOf/oneOf 2022-08-16 11:40:19 +00:00
Torsten Dittmann
bd550f8a1e feat: ui for datetime attribute 2022-07-28 14:38:54 +02:00
Torsten Dittmann
056e0d79ed fix: add nested models to specifications 2022-06-30 01:41:49 +02:00
Torsten Dittmann
53ad2a5114 fix: global attributes for body payload 2022-06-27 11:14:27 +02:00
Torsten Dittmann
3cdeeac964 feat: global attributes in specs 2022-06-27 10:41:10 +02:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Jake Barnby
b32fa16a68 Handle JSON rules as objects instead of strings to allow nested map attributes 2022-03-01 13:45:24 +13:00
Damodar Lohani
b71e9de578 fix open api spec 2022-02-20 09:22:42 +00:00
Damodar Lohani
629d09497f fix spec for resumable upload 2022-02-19 11:24:34 +00:00
Damodar Lohani
31d596c43c add to open api spec as well 2022-02-11 00:30:08 +00:00
Torsten Dittmann
6796aabf9c
Merge pull request #2637 from appwrite/feat-migration-0-13
feat: migration for 0.13
2022-02-08 11:17:44 +01:00
Jake Barnby
b2e93bfa40 Add missing validator cases for OpenAPI3 2022-01-31 23:42:33 +13:00
Torsten Dittmann
d3150afebc feat: migration for 0.13 2022-01-18 12:05:04 +01:00
Torsten Dittmann
a64564a969 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into fix-customid-example 2022-01-04 12:45:32 +01:00
Torsten Dittmann
fc0e4dcf9a fix: index and customid example in spec 2022-01-04 12:44:28 +01:00
Torsten Dittmann
304981da24 fix: specs definitions 2022-01-04 11:42:23 +01:00
Eldad A. Fux
724608ce29
Update src/Appwrite/Specification/Format/OpenAPI3.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-01-01 19:40:49 +02:00
Eldad Fux
d1b5f310e3 Added spec generator CLI command, remove old HTTP endpoint 2022-01-01 14:07:11 +02:00
Torsten Dittmann
eb7c9dd020 fix(specs): swagger add nullable property 2021-11-25 11:08:39 +01:00
Damodar Lohani
71baa6cd39 permission model for openapi spec 2021-11-18 17:34:54 +05:45
Torsten Dittmann
c3d1dad82c fix stdClass usage 2021-10-05 17:39:39 +02:00
kodumbeats
dc06e42348 Remove standard lib imports 2021-10-05 09:16:27 -04:00
Matej Baco
73c0b23680 Swagger (2,3) support for multiple types of response 2021-09-30 11:59:01 +02:00
Matej Baco
36f55c8726 Removed var dump 2021-09-23 13:13:22 +02:00
Matej Baco
c97b153255 Implemented oneOf for non-array results with multiple types 2021-09-23 13:12:50 +02:00
Matej Bačo
9c9a17a2a4
Apply suggestions from code review
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2021-09-21 20:33:11 +02:00
Matej Baco
d0e777edd5 Swagger Double type fix 2021-09-21 14:25:41 +02:00
Matej Baco
a87d482e49 Swagger2 support for arrays (work-around) 2021-09-21 14:12:43 +02:00
Matej Baco
e8f77ae363 OpenAPI3 support for anyOf 2021-09-21 14:01:18 +02:00
Christy Jacob
dd9cddc525 feat(review): fix review comments 2021-09-01 16:54:36 +05:30
Christy Jacob
ac0ff8ea0f feat(response): use recursive function for swagger/openapi spec generation 2021-09-01 02:25:13 +05:30
Damodar Lohani
7b56613b58 update framework 2021-08-19 10:54:55 +05:45
Eldad Fux
13c1bb045d Cleanup old db library 2021-07-25 17:47:18 +03:00
Damodar Lohani
546214012d fix openAPI spec 2021-05-21 16:32:08 +05:45
Damodar Lohani
09874e9c5d fix spec type mismatch 2021-05-21 14:29:51 +05:45
Damodar Lohani
87bbcff3a7 fix wrong type value 2021-05-21 13:04:19 +05:45
Damodar Lohani
54fdc647c2 updated specs to get validator getType 2021-05-21 12:53:53 +05:45
Eldad Fux
98df165050 Updated platform types 2021-05-19 18:29:06 +03:00
Eldad Fux
019f1e9d57 Fixed specs and code examples 2021-05-19 17:26:06 +03:00
Eldad Fux
cb038a2cfd Updated specs 2021-05-19 16:10:32 +03:00
Torsten Dittmann
501f68ca38 Merge branch 'dev' of https://github.com/appwrite/appwrite into merge-dev-into-0.8.x 2021-05-07 09:15:56 +02:00
Eldad Fux
5d1492b034 Fixed code examples 2021-04-21 09:54:28 +03:00
Eldad Fux
ce8b3686d8 Replaced sdk.security with sdk.auth 2021-04-16 10:22:17 +03:00
Eldad Fux
7a0ff7699a Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-jwt-support-for-sdks 2021-04-16 10:20:12 +03:00
Torsten Dittmann
20e858dbfe fix: validator class and spec generator 2021-04-13 10:46:30 +02:00
Torsten Dittmann
3cc08c849f fix: add error types 2021-04-08 11:27:59 +02:00
Torsten Dittmann
ccf114120e fix: add nested models in models 2021-04-08 11:24:41 +02:00
Torsten Dittmann
8bac3caeb5 feat: filter response models in openapi3 spec 2021-04-08 10:46:45 +02:00
Eldad Fux
aaa43bb154 Added JWT example 2021-03-29 00:47:17 +03:00
Eldad Fux
8ea83b24c3 Added new JWT as SDK auth method 2021-03-29 00:22:12 +03:00
Eldad Fux
e704cc82b5 Remove content type when no content 2021-02-02 08:02:35 +02:00
Eldad Fux
3440571f7f Updated specs 2021-02-01 01:07:11 +02:00
Eldad Fux
07beab14f8 Updated specs 2021-01-29 18:13:11 +02:00
Eldad Fux
237973bcb9 Added service descriptions to Swagger and OpenAPI3 specs 2021-01-26 13:54:06 +02:00
Damodar Lohani
d4c7ab045a Switching to utopia-php/storage 2021-01-22 14:13:33 +05:45
Eldad Fux
dfe12b2be0 Fixed object default value 2021-01-06 14:49:11 +02:00
Eldad Fux
0d602edd21 Fixed spec generator 2020-12-26 20:52:58 +02:00
Eldad Fux
794ddd6617 Updated demo code path 2020-12-25 14:11:17 +02:00
Eldad Fux
65285264c7 Fixed minor spec bug 2020-11-19 00:08:29 +02:00
Eldad Fux
3bb7a93e0e Added Open API 3 validation test 2020-11-14 15:05:18 +02:00
Eldad Fux
40ca93c4d0 Added open-api 2020-11-14 13:52:38 +02:00
Eldad Fux
d9957e13ff Added new spec parsing lib 2020-11-12 00:02:42 +02:00