GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — BaseAPIHubClient | ADK for TypeScript: API Reference - v2.5.0

  • BaseAPIHubClient

Interface BaseAPIHubClient

Fetches the content of an API specification registered in API Hub.

Implement this interface to give an APIHubToolset a different source of specs, such as a cache, a local file, or a test double.

interface BaseAPIHubClient {
    getSpecContent(path: string): Promise<string>;
}

Implemented by

  • APIHubClient
  • Defined in core/src/tools/apihub_tool/clients/apihub_client.ts:25

Methods

getSpecContent

  • getSpecContent(path: string): Promise<string>

    Returns the content of the spec that path resolves to.

    Parameters

    • path: string

      An API, API version or API spec resource name, or an API Hub console URL.

    Returns Promise<string>

    • Defined in core/src/tools/apihub_tool/clients/apihub_client.ts:32
Methods
getSpecContent
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.