Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 2, 2024
1 parent 09a4db0 commit 40ee508
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 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: 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 @@ -111,19 +111,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 @@ -243,19 +243,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 @@ -46,16 +46,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 @@ -64,4 +66,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"""

0 comments on commit 40ee508

Please sign in to comment.