This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 776909fba64686ae8db35188cd1141c840e7759d Author: Antonin Stefanutti <[email protected]> AuthorDate: Wed Jun 10 08:53:21 2020 +0200 fix(api): Add missing JSON tags --- pkg/apis/camel/v1/integration_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/camel/v1/integration_types.go b/pkg/apis/camel/v1/integration_types.go index 37c3aef..3f26277 100644 --- a/pkg/apis/camel/v1/integration_types.go +++ b/pkg/apis/camel/v1/integration_types.go @@ -96,7 +96,7 @@ type ResourceType string // ResourceSpec -- type ResourceSpec struct { - DataSpec + DataSpec `json:",inline"` Type ResourceType `json:"type,omitempty"` MountPath string `json:"mountPath,omitempty"` } @@ -110,7 +110,7 @@ const ( // SourceSpec -- type SourceSpec struct { - DataSpec + DataSpec `json:",inline"` Language Language `json:"language,omitempty"` // Loader is an optional id of the org.apache.camel.k.RoutesLoader that will // interpret this source at runtime
