Commit Graph

21 Commits

Author SHA1 Message Date
Julian Lam
63e07c9433 fix: tests 2020-10-22 14:43:29 -04:00
Julian Lam
c26f2b6599 feat(writeapi): user settings API 2020-10-22 14:07:50 -04:00
psychobunny
ffac3c7902 style(openapi): move schemas and responses out of write.yaml 2020-10-09 12:16:25 -04:00
Julian Lam
4c833d0bf0 feat(writeapi): topic posting and replying 2020-10-08 15:33:10 -04:00
Julian Lam
ba345e53e8 feat(writeapi): added POST /api/v1/groups 2020-10-08 15:33:10 -04:00
Julian Lam
b587127560 fix: new openapi def for replies addition 2020-08-27 14:56:51 -04:00
Julian Lam
e0c7d65a92 Revert "feat: add reply count to getPostSummaryByPids"
This reverts commit de0f4aadb8.
2020-08-27 14:44:51 -04:00
Julian Lam
de0f4aadb8 feat: add reply count to getPostSummaryByPids 2020-08-27 13:21:18 -04:00
Julian Lam
2a948d32a4 Revert "test(openapi): missing commonprops addition"
This reverts commit 0dc55bbc80.
2020-08-20 13:21:26 -04:00
Julian Lam
0dc55bbc80 test(openapi): missing commonprops addition 2020-08-20 10:50:45 -04:00
Barış Soner Uşaklı
dfabd0a3fe feat: remove administrator property from public routes 2020-08-05 14:24:00 -04:00
Barış Soner Uşaklı
5f1865c0b7 fix: openapi 2020-07-04 16:54:18 -04:00
Barış Soner Uşaklı
65c0adc720 fix: openapi 2020-07-04 16:49:33 -04:00
Julian Lam
c468942f14 fix(openapi): tests 2020-07-03 12:12:07 -04:00
Barış Soner Uşaklı
c718b7293e feat: #3783, min/max tags per category 2020-06-24 16:02:57 -04:00
Julian Lam
ccc6118d30 Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-04-23 21:50:08 -04:00
Julian Lam
8387178b25 feat(openapi): merging openapi-test branch into master 2020-04-16 20:39:15 -04:00
Julian Lam
2395d2be2e fix(openapi): added PostsObject component 2020-04-14 20:58:17 -04:00
Julian Lam
c939f8c66d fix(openapi): changed some descriptions 2020-04-08 22:15:40 -04:00
Julian Lam
55d0a9ffea fix(openapi): added CategoryObject component 2020-04-08 22:06:22 -04:00
psychobunny
cd5065572c feat: moved component specs into separate files 2020-04-07 16:17:00 -04:00