Commit Graph

25 Commits

Author SHA1 Message Date
Nicolas Dorier
4bb3d60b6c
Add misc/permissions to document the hierarchical structure (#2654) 2021-07-08 14:34:10 +09:00
Umar Bolatov
ca3f97c42f
Add missing API key type description 2021-06-02 20:12:53 -07:00
Andrew Camilleri
1ae6508a43
Make dates/timespan swagger docs more clear (#2399)
* Make dates/tiemspan swagger docs more clear

* fix schema conformity
2021-03-30 11:18:00 +09:00
Andrew Camilleri
0652e30c30
GreenField: Notifications API (#2055)
* GreenField: Notifications API

This refactors notifications so that we dont have a bunch of duplicated direct access to db contexts in controllers and then introduces new endpoints to fetch/toggle seen/remove  notifications of the current user.

* add tests + docs

* fix test

* pr changes

* fix permission json
2020-12-11 23:11:08 +09:00
Andrew Camilleri
88aa34747b
Automatically generate permissions docs for GreenField (#2043)
* Automatically generate permissions docs for GreenField

* Do a test instead
2020-11-24 10:10:32 +01:00
nicolas.dorier
94bcbeb604
Add Greenfield API 2020-11-13 14:15:03 +09:00
nicolas.dorier
8dd6ecc0b8
Fix lightning implementation, docs and tests 2020-06-09 17:24:34 +09:00
Kukks
aeef160d0b separate store swagger 2020-04-22 15:05:13 +02:00
Kukks
41cc79600a Swagger Generator: Merge multiple documents
It's becoming very hard to edit the swagger file as it grows (especially with multiple PRs altering it). This PR allows the swagger file to be generated from multiple jsons instead which are merged in the controller.
2020-04-04 14:22:07 +02:00
nicolas.dorier
6d7b57ea3b
A api key can always revoke itself, add a route to delete any api key 2020-03-27 14:46:51 +09:00
nicolas.dorier
39a8c3fe47
GreenField: Create API Key 2020-03-27 14:17:31 +09:00
nicolas.dorier
49be370e51
Rename GreenField auth to APIKey auth in swagger doc 2020-03-27 12:43:06 +09:00
Kukks
f8f358ebdb add to client, fix tests and doc 2020-03-20 17:14:47 +01:00
Kukks
9d99c32305 add basic auth for greenfield 2020-03-20 14:07:31 +01:00
nicolas.dorier
478b1463ff
Improve documentation 2020-03-20 20:26:36 +09:00
nicolas.dorier
7e7f0053e2
Improve documentation 2020-03-20 20:25:10 +09:00
nicolas.dorier
d2864ccd7c
Make sure ApiKeyData set all the fields, remove UserId 2020-03-20 20:00:05 +09:00
nicolas.dorier
4666238e38
Fix build 2020-03-20 18:38:21 +09:00
nicolas.dorier
432d6bb261
Update documentation 2020-03-20 14:33:11 +09:00
nicolas.dorier
65d26ad8a1
improve redoc documentation 2020-03-18 23:35:17 +09:00
nicolas.dorier
0a0d8d53a4
Improve redoc 2020-03-18 23:30:27 +09:00
nicolas.dorier
e50e3f662d
Can create user without authentication if there is no admin 2020-03-18 23:10:15 +09:00
nicolas.dorier
540a31207e
Properly validate create user input 2020-03-18 20:51:50 +09:00
nicolas.dorier
132c36df7b
Remove useless routes and info in swagger 2020-03-18 20:25:54 +09:00
nicolas.dorier
e351e0c9ea
Remove dependency on NSwag 2020-03-18 20:08:09 +09:00