Commit Graph

17 Commits

Author SHA1 Message Date
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