code: func Consumes(args ...interface{}) {
  	if a, ok := apiDefinition(); ok {
  		if def := buildEncodingDefinition(false, args...); def != nil {
  			a.Consumes = append(a.Consumes, def)
  		}
  	}
  }
docs: // Consumes can be used in: API
  //
  // Consumes adds a MIME type to the list of MIME types the APIs supports when accepting requests.
  // Consumes may also specify the path of the decoding package.
  // The package must expose a DecoderFactory method that returns an object which implements
  // goa.DecoderFactory.