From 09fb7733cca2a9b5424c14822fd72c5ef48602a3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:31:35 +0000 Subject: [PATCH] feat: OpenAPI spec update via Stainless API (#111) --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 95c2dc44c7..fe6469028f 100644 --- a/README.md +++ b/README.md @@ -220,7 +220,7 @@ If you would like to disable or customize this behavior, for example to use the ```ts import http from 'http'; -import HttpsProxyAgent from 'https-proxy-agent'; +import { HttpsProxyAgent } from 'https-proxy-agent'; // Configure the default for all requests: const cloudflare = new Cloudflare({ @@ -228,10 +228,12 @@ const cloudflare = new Cloudflare({ }); // Override per-request: -await cloudflare.zones.delete({ zone_id: '023e105f4ecef8ad9ca31a8372d0c353' }, { - baseURL: 'http://localhost:8080/test-api', - httpAgent: new http.Agent({ keepAlive: false }), -}) +await cloudflare.zones.delete( + { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' }, + { + httpAgent: new http.Agent({ keepAlive: false }), + }, +); ``` ## Semantic Versioning