Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions model/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ type Function struct {
// <path_to_custom_script>#<custom_service_method>.
// +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.
Expand Down