code: func (m *MediaTypeDefinition) projectTypeName(view string) string {
  	typeName := m.TypeName
  	if view != "default" {
  		typeName += strings.Title(view)
  	}
  	return typeName
  }
docs: // projectTypeName appends the view name to the media type name if the view name is not "default".