Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1571)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Mar 18, 2024
1 parent d89b76e commit 97583f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions url_scanner/urlscanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ type URLScannerScanParams struct {
DateEnd param.Field[time.Time] `query:"date_end" format:"date-time"`
// Filter scans requested after date (inclusive).
DateStart param.Field[time.Time] `query:"date_start" format:"date-time"`
// Filter scans by hash of any html/js/css request made by the webpage.
Hash param.Field[string] `query:"hash"`
// Filter scans by hostname of _any_ request made by the webpage.
Hostname param.Field[string] `query:"hostname"`
// Filter scans by IP address (IPv4 or IPv6) of _any_ request made by the webpage.
Expand Down
1 change: 0 additions & 1 deletion url_scanner/urlscanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func TestURLScannerScanWithOptionalParams(t *testing.T) {
ASN: cloudflare.F("13335"),
DateEnd: cloudflare.F(time.Now()),
DateStart: cloudflare.F(time.Now()),
Hash: cloudflare.F("string"),
Hostname: cloudflare.F("example.com"),
IP: cloudflare.F("1.1.1.1"),
IsMalicious: cloudflare.F(true),
Expand Down

0 comments on commit 97583f0

Please sign in to comment.