Skip to content

[F] getResponsesForOperation

function getResponsesForOperation(program, operation): [HttpOperationResponse[], readonly Diagnostic[]]

Get the responses for a given operation.

Parameters

ParameterType
programProgram
operationOperation

Returns

[HttpOperationResponse[], readonly Diagnostic[]]