func hasXDescriptorPrefix()

in script/validator/validator.go [179:186]


func hasXDescriptorPrefix(p camelapiv1.JSONSchemaProp, prefix string) bool {
	for _, d := range p.XDescriptors {
		if strings.HasPrefix(d, prefix) {
			return true
		}
	}
	return false
}