Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#808)
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 c974ba0 commit 69b665d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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-909b9ecb3be7ec2f54817533e4ea551d1eac37c0df72ec91b5c9179f9e8195c1.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e86b7715a3c49ac07162a99020f24e8ebe362cd2b6ace2d9d4f96e33bdec729d.yml
4 changes: 2 additions & 2 deletions src/cloudflare/types/healthchecks/http_configuration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List, Optional
from typing import Dict, List, Optional
from typing_extensions import Literal

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

header: Optional[object] = None
header: Optional[Dict[str, List[str]]] = None
"""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
Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/types/healthchecks/http_configuration_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import annotations

from typing import List, Optional
from typing import Dict, List, Optional
from typing_extensions import Literal, TypedDict

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

header: Optional[object]
header: Optional[Dict[str, List[str]]]
"""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
Expand Down

0 comments on commit 69b665d

Please sign in to comment.