ccproxy.plugins.command_replay.config¶
ccproxy.plugins.command_replay.config
¶
Configuration for the Command Replay plugin.
CommandReplayConfig
¶
Bases: BaseModel
Configuration for command replay generation.
Generates curl and xh commands for provider requests to enable easy replay and debugging of API calls.
should_generate_for_url
¶
Check if commands should be generated for the given URL.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
url
|
str
|
The request URL to check |
required |
is_provider_request
|
bool | None
|
Whether this is a provider request (None = auto-detect) |
None
|
Returns:
| Type | Description |
|---|---|
bool
|
True if commands should be generated for this URL |