code: func TypeName(name string) {
  	switch def := dslengine.CurrentDefinition().(type) {
  	case *design.MediaTypeDefinition:
  		def.TypeName = name
  	default:
  		dslengine.IncompatibleDSL()
  	}
  }
docs: // TypeName can be used in: MediaType
  //
  // TypeName makes it possible to set the Go struct name for a media type in the
  // generated code. By default goagen uses the identifier to compute a valid Go
  // identifier. This function makes it possible to override that and provide a
  // custom name. name must be a valid Go identifier.