using doc-forge

This commit is contained in:
2026-01-22 16:55:15 +05:30
parent 29c1579f40
commit f91c0b8792
36 changed files with 3739 additions and 238 deletions

13
openapi_first/client.pyi Normal file
View File

@@ -0,0 +1,13 @@
from typing import Any, Callable, Dict, Optional
import httpx
from .errors import OpenAPIFirstError
class OpenAPIClientError(OpenAPIFirstError): ...
class OpenAPIClient:
spec: Dict[str, Any]
base_url: str
client: httpx.Client
def __init__(self, spec: Dict[str, Any], base_url: Optional[str] = ..., client: Optional[httpx.Client] = ...) -> None: ...
def __getattr__(self, name: str) -> Callable[..., httpx.Response]: ...
def operations(self) -> Dict[str, Callable[..., httpx.Response]]: ...