File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ fn tagged_enum_with_unit_variants() {
6868/// - Each subschemas types is the same as the others
6969///
7070/// NOTE: This should work regardless of whether other hoisting has been performed or not.
71- fn hoist_one_of_enum_with_unit_variants ( kube_schema : & mut SchemaObject ) {
71+ pub ( crate ) fn hoist_one_of_enum_with_unit_variants ( kube_schema : & mut SchemaObject ) {
7272 // Run some initial checks in case there is nothing to do
7373 let SchemaObject {
7474 subschemas : Some ( subschemas) ,
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ fn optional_tagged_enum_with_unit_variants() {
9393/// - One subschema represents the `null` (has an enum with a null entry, and nullable set to true)
9494///
9595/// NOTE: This should work regardless of whether other hoisting has been performed or not.
96- fn hoist_any_of_subschema_with_a_nullable_variant ( kube_schema : & mut SchemaObject ) {
96+ pub ( crate ) fn hoist_any_of_subschema_with_a_nullable_variant ( kube_schema : & mut SchemaObject ) {
9797 // Run some initial checks in case there is nothing to do
9898 let SchemaObject {
9999 subschemas : Some ( subschemas) ,
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ fn invalid_untagged_enum_with_conflicting_variant_fields_after_one_of_hosting()
352352/// - Each subschema has the type "object"
353353///
354354/// NOTE: This should work regardless of whether other hoisting has been performed or not.
355- fn hoist_properties_for_any_of_subschemas ( kube_schema : & mut SchemaObject ) {
355+ pub ( crate ) fn hoist_properties_for_any_of_subschemas ( kube_schema : & mut SchemaObject ) {
356356 // Run some initial checks in case there is nothing to do
357357 let SchemaObject {
358358 subschemas : Some ( subschemas) ,
You can’t perform that action at this time.
0 commit comments