Back to Fastmcp

models

docs/python-sdk/fastmcp-utilities-openapi-models.mdx

3.2.41.2 KB
Original Source

fastmcp.utilities.openapi.models

Intermediate Representation (IR) models for OpenAPI operations.

Classes

ParameterInfo <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/utilities/openapi/models.py#L17" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Represents a single parameter for an HTTP operation in our IR.

RequestBodyInfo <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/utilities/openapi/models.py#L29" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Represents the request body for an HTTP operation in our IR.

ResponseInfo <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/utilities/openapi/models.py#L39" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Represents response information in our IR.

HTTPRoute <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/src/fastmcp/utilities/openapi/models.py#L47" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Intermediate Representation for a single OpenAPI operation.