OpenAPIConfig
: { BASE
: string | Resolver<string>; CREDENTIALS
: "include" | "omit" | "same-origin"; ENCODE_PATH
?: ((path
: string) => string); HEADERS
?: Headers | Resolver<Headers>; PASSWORD
?: string | Resolver<string>; TOKEN
?: string | Resolver<string>; USERNAME
?: string | Resolver<string>; VERSION
: string; WITH_CREDENTIALS
: boolean; }
Type declaration
-
BASE: string | Resolver<string>
-
CREDENTIALS: "include" | "omit" | "same-origin"
-
Optional
ENCODE_PATH?: ((path: string) => string)
-
- (path: string): string
-
Returns string
-
-
Optional
PASSWORD?: string | Resolver<string>
-
Optional
TOKEN?: string | Resolver<string>
-
Optional
USERNAME?: string | Resolver<string>
-
VERSION: string
-
WITH_CREDENTIALS: boolean