feat(server): add api key to openapi spec (#2362)

* feat(server): add api key to openapi spec

* regenerate api
This commit is contained in:
Michel Heusschen
2023-05-04 18:41:29 +02:00
committed by GitHub
parent af7da9d2c9
commit 15a498fd60
19 changed files with 903 additions and 87 deletions

View File

@@ -1,5 +1,7 @@
export const IMMICH_ACCESS_COOKIE = 'immich_access_token';
export const IMMICH_AUTH_TYPE_COOKIE = 'immich_auth_type';
export const IMMICH_API_KEY_NAME = 'api_key';
export const IMMICH_API_KEY_HEADER = 'x-api-key';
export enum AuthType {
PASSWORD = 'password',
OAUTH = 'oauth',