[F] getResponsesForOperation
function getResponsesForOperation(program, operation): [HttpOperationResponse[], readonly Diagnostic[]];Get the responses for a given operation.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
operation | Operation |
Returns
Section titled “Returns”[HttpOperationResponse[], readonly Diagnostic[]]