Author | SHA1 | Message | Date |
---|---|---|---|
|
cbf231a675 |
fix wrong email when use gitea as OAuth2 provider (#7640)
when you use gitea as OAuth2 provider, the /api/v1/user should return user primary email as identifier, which is unique in OAuth2 clients. this patch use convert.ToUser replace all u.APIFormat in api requests, return primary email when caller is yourself or admin. |
5 years ago |
|
34eee25bd4
|
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor |
6 years ago |
|
1c5cbc390b | refactor: import order. (#3736) | 7 years ago |
|
f26f4a7e01 |
Update swagger documentation (#2899)
* Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments |
7 years ago |
|
8422ab542c | API endpoint for subscribers (#598) | 8 years ago |