func metaProducesSetter(meta *spec.Swagger) func([]string) { return func(produces []string) { meta.Produces = produces } }