fix(crd): Type json.RawMessage fields as byte-formatted string in OpenAPI schema
diff --git a/pkg/apis/camel/v1/common_types.go b/pkg/apis/camel/v1/common_types.go
index 25eff32..343f6b7 100644
--- a/pkg/apis/camel/v1/common_types.go
+++ b/pkg/apis/camel/v1/common_types.go
@@ -58,7 +58,7 @@
 	Configuration TraitConfiguration `json:"configuration"`
 }
 
-// +kubebuilder:validation:Type=object
+// +kubebuilder:validation:Type=string
 // TraitConfiguration --
 type TraitConfiguration struct {
 	json.RawMessage `json:",inline"`
@@ -146,7 +146,7 @@
 }
 
 // Flow is an unstructured object representing a Camel Flow in YAML/JSON DSL
-// +kubebuilder:validation:Type=object
+// +kubebuilder:validation:Type=string
 type Flow struct {
 	json.RawMessage `json:",inline"`
 }
diff --git a/pkg/apis/camel/v1alpha1/kamelet_binding_types.go b/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
index b1cc853..124c3ab 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
@@ -53,7 +53,7 @@
 )
 
 // EndpointProperties is a key/value struct represented as JSON raw to allow numeric/boolean values
-// +kubebuilder:validation:Type=object
+// +kubebuilder:validation:Type=string
 type EndpointProperties struct {
 	json.RawMessage `json:",inline"`
 }