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 #421

Merged
merged 1 commit into from
May 2, 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: 1267
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-cc3299608e8bb30103d79d6bdc29758d43899b0393afe2153bea75e201ac0795.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e766041655f0afd0c3d17f358598272442d420c51c0d73c87f17f5a0d9dc3990.yml
16 changes: 8 additions & 8 deletions src/cloudflare/resources/url_scanner/url_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ def scan(

page_asn: Filter scans by main page Autonomous System Number (ASN).

page_hostname: Filter scans by main page hostname .
page_hostname: Filter scans by main page hostname (domain of effective URL).

page_ip: Filter scans by main page IP address (IPv4 or IPv6).

page_path: Filter scans by exact match URL path (also supports suffix search).
page_path: Filter scans by exact match of effective URL path (also supports suffix search).

page_url: Filter scans by exact match to scanned URL (_after redirects_)
page_url: Filter scans by submitted or scanned URL

path: Filter scans by url path of _any_ request made by the webpage.

scan_id: Scan uuid

url: Filter scans by exact match URL of _any_ request made by the webpage
url: Filter scans by URL of _any_ request made by the webpage

extra_headers: Send extra headers

Expand Down Expand Up @@ -250,19 +250,19 @@ async def scan(

page_asn: Filter scans by main page Autonomous System Number (ASN).

page_hostname: Filter scans by main page hostname .
page_hostname: Filter scans by main page hostname (domain of effective URL).

page_ip: Filter scans by main page IP address (IPv4 or IPv6).

page_path: Filter scans by exact match URL path (also supports suffix search).
page_path: Filter scans by exact match of effective URL path (also supports suffix search).

page_url: Filter scans by exact match to scanned URL (_after redirects_)
page_url: Filter scans by submitted or scanned URL

path: Filter scans by url path of _any_ request made by the webpage.

scan_id: Scan uuid

url: Filter scans by exact match URL of _any_ request made by the webpage
url: Filter scans by URL of _any_ request made by the webpage

extra_headers: Send extra headers

Expand Down
10 changes: 6 additions & 4 deletions src/cloudflare/types/url_scanner/url_scanner_scan_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,18 @@ class URLScannerScanParams(TypedDict, total=False):
"""Filter scans by main page Autonomous System Number (ASN)."""

page_hostname: str
"""Filter scans by main page hostname ."""
"""Filter scans by main page hostname (domain of effective URL)."""

page_ip: str
"""Filter scans by main page IP address (IPv4 or IPv6)."""

page_path: str
"""Filter scans by exact match URL path (also supports suffix search)."""
"""
Filter scans by exact match of effective URL path (also supports suffix search).
"""

page_url: str
"""Filter scans by exact match to scanned URL (_after redirects_)"""
"""Filter scans by submitted or scanned URL"""

path: str
"""Filter scans by url path of _any_ request made by the webpage."""
Expand All @@ -67,4 +69,4 @@ class URLScannerScanParams(TypedDict, total=False):
"""Scan uuid"""

url: str
"""Filter scans by exact match URL of _any_ request made by the webpage"""
"""Filter scans by URL of _any_ request made by the webpage"""