// Take in a FQMN and return a swagger safe version of the FQMN func fullyQualifiedNameToSwaggerName(fqmn string, reg *descriptor.Registry) string { return resolveFullyQualifiedNameToSwaggerName(fqmn, reg.GetAllFQMNs()) }
// Take in a FQMN or FQEN and return a swagger safe version of the FQMN func fullyQualifiedNameToSwaggerName(fqn string, reg *descriptor.Registry) string { return resolveFullyQualifiedNameToSwaggerName(fqn, append(reg.GetAllFQMNs(), reg.GetAllFQENs()...)) }