ReducedOpenAPISpec#

class langchain_community.agent_toolkits.openapi.spec.ReducedOpenAPISpec(servers: List[dict], description: str, endpoints: List[Tuple[str, str, dict]])[source]#

A reduced OpenAPI spec.

This is a quick and dirty representation for OpenAPI specs.

Parameters:
  • servers (List[dict]) – The servers in the spec.

  • description (str) – The description of the spec.

  • endpoints (List[Tuple[str, str, dict]]) – The endpoints in the spec.

Attributes

Methods

__init__(servers, description, endpoints)

__init__(servers: List[dict], description: str, endpoints: List[Tuple[str, str, dict]]) None#
Parameters:
  • servers (List[dict]) –

  • description (str) –

  • endpoints (List[Tuple[str, str, dict]]) –

Return type:

None