Hierarchy

  • Configuration
    • ApiConfiguration

Constructors

  • Parameters

    • Optional param: ConfigurationParameters

    Returns ApiConfiguration

Properties

apiKey?: string | Promise<string> | ((name) => string) | ((name) => Promise<string>)

parameter for apiKey security

Type declaration

    • (name): string
    • Parameters

      • name: string

      Returns string

Type declaration

    • (name): Promise<string>
    • Parameters

      • name: string

      Returns Promise<string>

Param

security name

Memberof

Configuration

username?: string

parameter for basic security

Memberof

Configuration

password?: string

parameter for basic security

Memberof

Configuration

accessToken?: string | Promise<string> | ((name?, scopes?) => string) | ((name?, scopes?) => Promise<string>)

parameter for oauth2 security

Type declaration

    • (name?, scopes?): string
    • Parameters

      • Optional name: string
      • Optional scopes: string[]

      Returns string

Type declaration

    • (name?, scopes?): Promise<string>
    • Parameters

      • Optional name: string
      • Optional scopes: string[]

      Returns Promise<string>

Param

security name

Param

oauth2 scope

Memberof

Configuration

basePath?: string

override base path

Memberof

Configuration

baseOptions?: any

base options for axios calls

Memberof

Configuration

formDataCtor?: (new () => any)

Type declaration

    • new (): any
    • The FormData constructor that will be used to create multipart form data requests. You can inject this here so that execution environments that do not support the FormData class can still run the generated client.

      Returns any

Methods

  • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

    Parameters

    • mime: string

      MIME (Multipurpose Internet Mail Extensions)

    Returns boolean

    True if the given MIME is JSON, false otherwise.

Generated using TypeDoc