File tree Expand file tree Collapse file tree
openapi_python_client/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ client = AuthenticatedClient(
6565
6666Things to know:
67671. Every path/method combo becomes a Python module with four functions:
68- 1. `sync`: Blocking request that returns parsed data (if successful) or `None`
69- 1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
70- 1. `asyncio`: Like `sync` but async instead of blocking
71- 1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
68+ 1. `sync`: Blocking request that returns parsed data (if successful) or `None`
69+ 1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
70+ 1. `asyncio`: Like `sync` but async instead of blocking
71+ 1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
7272
73731. All path/query params, and bodies become method arguments.
74741. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
You can’t perform that action at this time.
0 commit comments