Repository navigation
chore(gen): refresh API specs - #24
Conversation
1e69d31 to
39756d3
Compare
39756d3 to
0157d0d
Compare
rmilyushkevich
left a comment
There was a problem hiding this comment.
Held. This PR removes chat-gpt-chat --timezone, but the live API still supports that parameter.
Removed-flag check, run with the main binary:
chat-gpt-chat --timezone Europe/Berlinreturned HTTP 200 with an answer.chat-gpt-chat --timezone Not/A_Zonereturned HTTP 422:{"rule":"ianaTimezone","field":"timezone",...}.
So the backend still validates and uses timezone, and only the catalog dropped it. Merging would take a working flag away from users and break any script that passes --timezone. The fix belongs in the API catalog: put timezone back in the chat-gpt-chat spec, or confirm that it is being retired on purpose. This isn't a bug in the generator. Once the catalog is settled, the next regen run will update this PR.
Harness (head 0157d0d, base origin/main)
go vet/go build/go test✓--helpsmoke on root + 70 commands, plusversion,version --jsonandcompletion bash✓go generate .onmaingives the same spec hash (ac67395…) and the samecmd/output as this PR ✓- Live calls: canaries
web-scrapingandgoogle-serp-light✓;youtube-comments-api --v-param dQw4w9WgXcQ✓;chat-gpt-chat --lat/--lon✓;web-scraping --proxy-country IL✓
Command-surface diff
- Added command:
youtube-comments-api. The video ID flag is--v-param, because-vis already--verbose. chat-gpt-chat: adds--latand--lon(float). Removes--timezone. The example default for--promptchanges.web-scraping --proxy-country: addsILto the allowed values.- Booking, Airbnb, Google Flights and Google Hotels: only the rolling date defaults change.
Everything else in this PR looks good. I'll merge it once timezone is resolved.
Generated by Claude Code
Changes
GENERATION_REPORT.md | 5 +--
cmd/gen_airbnb_listing.go | 4 +--
cmd/gen_booking_place.go | 4 +--
cmd/gen_booking_search.go | 4 +--
cmd/gen_chat_gpt_chat.go | 17 ++++++----
cmd/gen_google_flights.go | 4 +--
cmd/gen_google_hotels.go | 4 +--
cmd/gen_web_scraping.go | 6 ++--
internal/gen/spec-hash.txt | 2 +-
pr-body.md | 84 ----------------------------------------------
10 files changed, 28 insertions(+), 106 deletions(-)
Generation Report
Generation Report
Generated at: 2026-11-16T07:09:36Z
APIs generated (70)