Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): OpenAPI spec update via Stainless API #808

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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