Skip to content

Add URI validation for EventType Source and Schema fields #8836

@Kunal1522

Description

@Kunal1522

The EventTypeSpec validation in pkg/apis/eventing/v1beta1/eventtype_validation.go (and v1beta2, v1beta3) has TODO comments indicating that Source and Schema fields should be validated as proper URIs:
https://github.com/knative/eventing/blob/main/pkg/apis/eventing/v1beta1/eventtype_validation.go#L36-L37

// TODO validate Source is a valid URI.
// TODO validate Schema is a valid URI.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions