simplify experimental enum variant support

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Charles Cunningham
2026-03-08 12:10:00 -07:00
parent 7a52aee7db
commit e426c16139
3 changed files with 1 additions and 32 deletions

View File

@@ -30,8 +30,6 @@ pub enum ExperimentalEnumVariantEncoding {
StringLiteral,
/// A tagged object arm, such as `{ "type": "chatgptAuthTokens", ... }`.
TaggedObject { tag_name: &'static str },
/// An externally tagged object arm, such as `{ "reject": { ... } }`.
ExternallyTaggedObject,
}
/// Describes an experimental enum variant on a specific type.