We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35034c5 commit 3850a19Copy full SHA for 3850a19
kube-core/src/schema.rs
@@ -551,7 +551,9 @@ impl Transform for StructuralSchemaRewriter {
551
None => return,
552
};
553
let schema = hoist_one_of_enum(schema);
554
- let mut schema = hoist_any_of_option_enum(schema);
+ let schema = hoist_any_of_option_enum(schema);
555
+ // todo: let schema = strip_any_of_empty_object_entry(schema);
556
+ let mut schema = schema;
557
if let Some(subschemas) = &mut schema.subschemas {
558
if let Some(one_of) = subschemas.one_of.as_mut() {
559
// Tagged enums are serialized using `one_of`
0 commit comments