+
    Q(ij                    r    R t ^ RIHt ^ RIt^ RIHt ^ RIt^ RIHtH	t	H
t
Ht ^ RIHt  ! R R]4      tR.tR# )a  FastMCPOpenAPI - backwards compatibility wrapper.

This class is deprecated. Use FastMCP with OpenAPIProvider instead:

    from fastmcp import FastMCP
    from fastmcp.server.providers.openapi import OpenAPIProvider
    import httpx

    client = httpx.AsyncClient(base_url="https://api.example.com")
    provider = OpenAPIProvider(openapi_spec=spec, client=client)
    mcp = FastMCP("My API Server", providers=[provider])
)annotationsN)Any)ComponentFnOpenAPIProviderRouteMap
RouteMapFn)FastMCPc                  6   a  ] tR t^tRtRR V 3R llltRtV ;t# )FastMCPOpenAPIa  FastMCP server implementation that creates components from an OpenAPI schema.

.. deprecated::
    Use FastMCP with OpenAPIProvider instead. This class will be
    removed in a future version.

Example (deprecated):
    ```python
    from fastmcp.server.openapi import FastMCPOpenAPI
    import httpx

    server = FastMCPOpenAPI(
        openapi_spec=spec,
        client=httpx.AsyncClient(),
    )
    ```

New approach:
    ```python
    from fastmcp import FastMCP
    from fastmcp.server.providers.openapi import OpenAPIProvider
    import httpx

    client = httpx.AsyncClient(base_url="https://api.example.com")
    provider = OpenAPIProvider(openapi_spec=spec, client=client)
    mcp = FastMCP("API Server", providers=[provider])
    ```
c               <    V ^8  d   QhRRRRRRRRR	R
RRRRRRRR/	# )   openapi_speczdict[str, Any]clientzhttpx.AsyncClient | Nonenamez
str | None
route_mapszlist[RouteMap] | Noneroute_map_fnzRouteMapFn | Nonemcp_component_fnzComponentFn | None	mcp_nameszdict[str, str] | Nonetagszset[str] | Nonesettingsr    )formats   "c/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/fastmcp/server/openapi/server.py__annotate__FastMCPOpenAPI.__annotate__<   sd     :, :,$:, ):, 	:,
 *:, (:, -:, ):, :, :,    c	           
       < \         P                  ! R\        ^R7       \        SV `  ! RRT;'       g    R/V	B  W n        W`n        \        VVVVVVVR7      p
V P                  V
4       V
P                  V n	        V
P                  V n
        R# )a  Initialize a FastMCP server from an OpenAPI schema.

.. deprecated::
    Use FastMCP with OpenAPIProvider instead.

Args:
    openapi_spec: OpenAPI schema as a dictionary
    client: Optional httpx AsyncClient for making HTTP requests.
        If not provided, a default client is created from the spec.
    name: Optional name for the server
    route_maps: Optional list of RouteMap objects defining route mappings
    route_map_fn: Optional callable for advanced route type mapping
    mcp_component_fn: Optional callable for component customization
    mcp_names: Optional dictionary mapping operationId to component names
    tags: Optional set of tags to add to all components
    **settings: Additional settings for FastMCP
zFastMCPOpenAPI is deprecated. Use FastMCP with OpenAPIProvider instead:
    provider = OpenAPIProvider(openapi_spec=spec, client=client)
    mcp = FastMCP('name', providers=[provider]))
stacklevelr   zOpenAPI FastMCP)r   r   r   r   r   r   r   Nr   )warningswarnDeprecationWarningsuper__init___client_mcp_component_fnr   add_provider_spec	_director)selfr   r   r   r   r   r   r   r   r   provider	__class__s   &&&&&&&&&, r   r"   FastMCPOpenAPI.__init__<   s    : 	> 	
 	Dd77&7D8D !1 #%!%-
 	(# ^^
!++r   )r#   r'   r$   r&   )NNNNNNN)__name__
__module____qualname____firstlineno____doc__r"   __static_attributes____classcell__)r*   s   @r   r
   r
      s    ::, :, :,r   r
   )r0   
__future__r   r   typingr   httpx fastmcp.server.providers.openapir   r   r   r   fastmcp.server.serverr   r
   __all__r   r   r   <module>r9      sB    #     *X,W X,z r   