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 — createRestApiToolFromJson | ADK for TypeScript: API Reference - v2.5.0

  • createRestApiToolFromJson

Function createRestApiToolFromJson

  • createRestApiToolFromJson(parsedOperationJson: string): RestApiTool

    Builds a RestApiTool from the JSON string form of a parsed operation.

    This is the only entry point that accepts undecoded input, so it is where the auth scheme is checked. A scheme reaching createRestApiTool as an object is already constrained by its type.

    Parameters

    • parsedOperationJson: string

      A serialized ParsedOperationInput.

    Returns RestApiTool

    The tool for that operation.

    Throws

    If the auth scheme does not declare a known type.

    • Defined in core/src/tools/openapi_tool/rest_api_tool.ts:575
You are visitor 01402792 — 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.