mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
Align network config schema strictness
This commit is contained in:
@@ -101,6 +101,7 @@ impl fmt::Display for NetworkProxyMode {
|
||||
/// `http://proxy.example:8080`). It is deliberately not a PAC/WPAD URL, and
|
||||
/// callers must redact credentials before logging it.
|
||||
#[derive(Serialize, Deserialize, Default, Clone, PartialEq, Eq, JsonSchema)]
|
||||
#[schemars(deny_unknown_fields)]
|
||||
pub struct NetworkConfigToml {
|
||||
/// Proxy selection mode. Defaults to `auto` when omitted.
|
||||
#[serde(default)]
|
||||
|
||||
Reference in New Issue
Block a user