> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-066e8699.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# General.Models

> Reference for the general.models Python module in the X API SDK. Pydantic request and response models for the general endpoints of the X API v2.

This module provides Pydantic models for request and response data structures
for the general endpoints of the X API. All models are generated
from the OpenAPI specification and provide type safety and validation.

## GetOpenApiSpecResponse

<Badge color="blue">Class</Badge>

<Badge color="gray">Bases: BaseModel</Badge>

Response model for get\_open\_api\_spec

## Methods

### `class xdk.general.models.GetOpenApiSpecResponse`

Response model for get\_open\_api\_spec
