1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/src/lib/openapi
Fredrik Strand Oseberg 874d8459ce
Feat/add alias to api tokens (#1931)
* refactor: remove unused API definition routes

* feat: embed proxy endpoints

* feat: check token metadata for alias if none is found

* fix: rename param

* feat: add test for retrieving token by alias

* fix: update schema

* fix: refactor to alias

* fix: refactor to null

* fix: update snapshot

* fix: update openapi snapshot

* fix: add check to getUserForToken

* refactor: add more token alias tests

* refactor: use timingSafeEqual for token comparisons

Co-authored-by: olav <mail@olav.io>
2022-08-19 10:48:33 +02:00
..
spec Feat/add alias to api tokens (#1931) 2022-08-19 10:48:33 +02:00
util feat: embed proxy endpoints (#1926) 2022-08-16 15:33:33 +02:00
endpoint-descriptions.ts feat: add playground API post endpoint (#1791) 2022-07-12 13:01:10 +02:00
index.test.ts Refactor: move openapi utils into /util directory (#1777) 2022-07-01 08:06:33 +02:00
index.ts feat: embed proxy endpoints (#1926) 2022-08-16 15:33:33 +02:00
validate.test.ts refactor: add OpenAPI schema to constraints controller (#1683) 2022-06-09 10:35:39 +02:00
validate.ts fix: fix broken OpenAPI spec (#1846) 2022-07-28 09:19:58 +02:00