-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): OpenAPI spec update via Stainless API (#1810)
- Loading branch information
1 parent
7832d67
commit 2745e9f
Showing
3 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,7 +138,7 @@ func TestHealthcheckUpdateWithOptionalParams(t *testing.T) { | |
} | ||
} | ||
|
||
func TestHealthcheckList(t *testing.T) { | ||
func TestHealthcheckListWithOptionalParams(t *testing.T) { | ||
t.Skip("skipped: tests are disabled for the time being") | ||
baseURL := "http://localhost:4010" | ||
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok { | ||
|
@@ -153,7 +153,9 @@ func TestHealthcheckList(t *testing.T) { | |
option.WithAPIEmail("[email protected]"), | ||
) | ||
_, err := client.Healthchecks.List(context.TODO(), healthchecks.HealthcheckListParams{ | ||
ZoneID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"), | ||
ZoneID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"), | ||
Page: cloudflare.F[any](map[string]interface{}{}), | ||
PerPage: cloudflare.F[any](map[string]interface{}{}), | ||
}) | ||
if err != nil { | ||
var apierr *cloudflare.Error | ||
|