Skip to content

Commit 2a288ca

Browse files
feat: Add example to ProxyCheckRequest.url so API reference sample shows it
1 parent b9cbd19 commit 2a288ca

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 127
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-e04362b2c82b88f4f7fb43209c764fa9fdf37fe98932e142547be43a1e99c50b.yml
3-
openapi_spec_hash: b16e79bfd6cac36090c815a8184b9e09
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-0c99f133dc7e81a8e74e829299f4a7bfdd9f4fadc40e69a9a10c81ab28318f7a.yml
3+
openapi_spec_hash: 6e7e04300dc9554b2d1cf4284ee46504
44
config_hash: 77ee715aa17061166f9a02b264a21b8d

tests/api_resources/test_proxies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def test_method_check(self, client: Kernel) -> None:
252252
def test_method_check_with_all_params(self, client: Kernel) -> None:
253253
proxy = client.proxies.check(
254254
id="id",
255-
url="url",
255+
url="https://example.com",
256256
)
257257
assert_matches_type(ProxyCheckResponse, proxy, path=["response"])
258258

@@ -524,7 +524,7 @@ async def test_method_check(self, async_client: AsyncKernel) -> None:
524524
async def test_method_check_with_all_params(self, async_client: AsyncKernel) -> None:
525525
proxy = await async_client.proxies.check(
526526
id="id",
527-
url="url",
527+
url="https://example.com",
528528
)
529529
assert_matches_type(ProxyCheckResponse, proxy, path=["response"])
530530

0 commit comments

Comments
 (0)