command
Version:
v0.1.62
Opens a new window with list of versions in this module.
Published: Jul 26, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package main provides a CLI tool to record real API responses for contract tests.
Usage:
OPENAI_API_KEY=sk-xxx go run ./cmd/recordapi \
-provider=openai \
-endpoint=chat \
-output=tests/contract/testdata/openai/chat_completion.json
Source Files
¶
Click to show internal directories.
Click to hide internal directories.