Skip to content

Commit 69b665d

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#808)
1 parent c974ba0 commit 69b665d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1335
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-909b9ecb3be7ec2f54817533e4ea551d1eac37c0df72ec91b5c9179f9e8195c1.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e86b7715a3c49ac07162a99020f24e8ebe362cd2b6ace2d9d4f96e33bdec729d.yml

src/cloudflare/types/healthchecks/http_configuration.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import List, Optional
3+
from typing import Dict, List, Optional
44
from typing_extensions import Literal
55

66
from ..._models import BaseModel
@@ -28,7 +28,7 @@ class HTTPConfiguration(BaseModel):
2828
follow_redirects: Optional[bool] = None
2929
"""Follow redirects if the origin returns a 3xx status code."""
3030

31-
header: Optional[object] = None
31+
header: Optional[Dict[str, List[str]]] = None
3232
"""The HTTP request headers to send in the health check.
3333
3434
It is recommended you set a Host header by default. The User-Agent header cannot

src/cloudflare/types/healthchecks/http_configuration_param.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Optional
5+
from typing import Dict, List, Optional
66
from typing_extensions import Literal, TypedDict
77

88
__all__ = ["HTTPConfigurationParam"]
@@ -28,7 +28,7 @@ class HTTPConfigurationParam(TypedDict, total=False):
2828
follow_redirects: bool
2929
"""Follow redirects if the origin returns a 3xx status code."""
3030

31-
header: Optional[object]
31+
header: Optional[Dict[str, List[str]]]
3232
"""The HTTP request headers to send in the health check.
3333
3434
It is recommended you set a Host header by default. The User-Agent header cannot

0 commit comments

Comments
 (0)