Skip to content

Commit

Permalink
api: add in/out/error type schema to v1alpha1.Endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Dec 9, 2020
1 parent 13f6e17 commit 8f0b46f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/camel/v1alpha1/kamelet_binding_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ type Endpoint struct {
URI *string `json:"uri,omitempty"`
// Properties are a key value representation of endpoint properties
Properties EndpointProperties `json:"properties,omitempty"`
// Types defines the schema of the data produced/consumed by the endpoint
Types map[EventSlot]EventTypeSpec `json:"types,omitempty"`
}

type EndpointType string
Expand Down
7 changes: 7 additions & 0 deletions pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f0b46f

Please sign in to comment.