langchain_community.agent_toolkits.openapi.spec
.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.
- servers¶
The servers in the spec.
- Type
List[dict]
- description¶
The description of the spec.
- Type
str
- endpoints¶
The endpoints in the spec.
- Type
List[Tuple[str, str, dict]]
Attributes
Methods
__init__
(servers, description, endpoints)- __init__(servers: List[dict], description: str, endpoints: List[Tuple[str, str, dict]]) None ¶