Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jun 4, 2024
1 parent 76fa49f commit 2c2ccb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1335
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b42f6e29f4883eca878ffd5b8350978562a313e526be526c1a5518e74b80c595.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e86b7715a3c49ac07162a99020f24e8ebe362cd2b6ace2d9d4f96e33bdec729d.yml
4 changes: 2 additions & 2 deletions src/resources/healthchecks/healthchecks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export interface HTTPConfiguration {
* The HTTP request headers to send in the health check. It is recommended you set
* a Host header by default. The User-Agent header cannot be overridden.
*/
header?: unknown | null;
header?: Record<string, Array<string>> | null;

/**
* The HTTP method to use for the health check.
Expand Down Expand Up @@ -322,7 +322,7 @@ export interface HTTPConfigurationParam {
* The HTTP request headers to send in the health check. It is recommended you set
* a Host header by default. The User-Agent header cannot be overridden.
*/
header?: unknown | null;
header?: Record<string, Array<string>> | null;

/**
* The HTTP method to use for the health check.
Expand Down

0 comments on commit 2c2ccb0

Please sign in to comment.