diff --git a/model/function.go b/model/function.go index c48dfeb..49e23ab 100644 --- a/model/function.go +++ b/model/function.go @@ -52,9 +52,9 @@ type Function struct { // #. // +kubebuilder:validation:Required Operation string `json:"operation" validate:"required,oneof=rest rpc expression"` - // Defines the function type. Is either `custom`, `rest`, `rpc`, `expression`, `graphql`, `asyncapi`, `asyncapi` or `asyncapi`. + // Defines the function type. Is either `custom`, `rest`, `rpc`, `expression`, `graphql`, `odata` or `asyncapi`. // Default is `rest`. - // +kubebuilder:validation:Enum=rest;rpc;expression;graphql;asyncapi;asyncapi;asyncapi;custom + // +kubebuilder:validation:Enum=rest;rpc;expression;graphql;odata;asyncapi;custom // +kubebuilder:default=rest Type FunctionType `json:"type,omitempty"` // References an auth definition name to be used to access to resource defined in the operation parameter.