Skip to content

[F] getOperationResponse

function getOperationResponse(program, operation): Model | undefined

Get the main success response from an operation

Parameters

ParameterTypeDescription
programProgramGet success responses for an operation
operationOperationThe operation to process

Returns

Model | undefined

A model, if there is a 2xx response, or nothing otherwise