Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[camel-kamelets] Issue-1330: Deprecating parameters #4097

Merged
merged 3 commits into from
Mar 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions helm/camel-k/crds/crd-kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ spec:
description: default is a default value for undefined object
fields.
x-kubernetes-preserve-unknown-fields: true
deprecated:
type: boolean
default: false
description:
type: string
enum:
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/camel/v1alpha1/jsonschema_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (

type JSONSchemaProp struct {
ID string `json:"id,omitempty"`
Deprecated bool `json:"deprecated,omitempty"`
Description string `json:"description,omitempty"`
Type string `json:"type,omitempty"`
// format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
Expand Down