Type alias OpenAPIConfig

OpenAPIConfig: {
    BASE: 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
  • CREDENTIALS: "include" | "omit" | "same-origin"
  • Optional ENCODE_PATH?: ((path: string) => string)
      • (path: string): string
      • Parameters

        • path: string

        Returns string

  • Optional HEADERS?: Headers | Resolver<Headers>
  • Optional PASSWORD?: string | Resolver<string>
  • Optional TOKEN?: string | Resolver<string>
  • Optional USERNAME?: string | Resolver<string>
  • VERSION: string
  • WITH_CREDENTIALS: boolean

Generated using TypeDoc