Commit graph

69 commits

Author SHA1 Message Date
Bradley Schofield
f5715f4df8 Update Spec generator 2023-01-13 15:43:57 +00: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