streamFlag returns the flag used to specify the upload file for endpoints that use SkipRequestBodyEncodeDecode.
(svcn, en string)
| 287 | // streamFlag returns the flag used to specify the upload file for endpoints |
| 288 | // that use SkipRequestBodyEncodeDecode. |
| 289 | func streamFlag(svcn, en string) *cli.FlagData { |
| 290 | return cli.NewFlagData(svcn, en, "stream", "string", "path to file containing the streamed request body", true, "goa.png", nil) |
| 291 | } |
| 292 | |
| 293 | // streamingCmdExists returns true if at least one command in the list of commands |
| 294 | // uses stream for sending payload/result. |
no test coverage detected