# ReducedOpenAPISpec

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/agent_toolkits/openapi/spec/ReducedOpenAPISpec)

A reduced OpenAPI spec.

This is a quick and dirty representation for OpenAPI specs.

## Signature

```python
ReducedOpenAPISpec(
    self,
    servers: List[dict],
    description: str,
    endpoints: List[Tuple[str, str, dict]],
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `servers` | `List[dict]` | Yes | The servers in the spec. |
| `description` | `str` | Yes | The description of the spec. |
| `endpoints` | `List[Tuple[str, str, dict]]` | Yes | The endpoints in the spec. |

## Constructors

```python
__init__(
    self,
    servers: List[dict],
    description: str,
    endpoints: List[Tuple[str, str, dict]],
) -> None
```

| Name | Type |
|------|------|
| `servers` | `List[dict]` |
| `description` | `str` |
| `endpoints` | `List[Tuple[str, str, dict]]` |


## Properties

- `servers`
- `description`
- `endpoints`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/agent_toolkits/openapi/spec.py#L9)