Skip to content

Commit bd1c0ca

Browse files
feat: Add example to ProxyCheckRequest.url so API reference sample shows it
1 parent b950179 commit bd1c0ca

2 files changed

Lines changed: 3 additions & 3 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/proxies.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('resource proxies', () => {
116116
test.skip('check: request options and params are passed correctly', async () => {
117117
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
118118
await expect(
119-
client.proxies.check('id', { url: 'url' }, { path: '/_stainless_unknown_path' }),
119+
client.proxies.check('id', { url: 'https://example.com' }, { path: '/_stainless_unknown_path' }),
120120
).rejects.toThrow(Kernel.NotFoundError);
121121
});
122122
});

0 commit comments

Comments
 (0)