lib/public/swagger/swagger-ui.js
function (operation, parameter) {
  // TODO the reference to operation.api is not available
  if (operation.api && operation.api.parameterMacro) {
    return operation.api.parameterMacro(operation, parameter);
  } else {
    return parameter.defaultValue;
  }
}
function (operation, parameter) {
  // TODO the reference to operation.api is not available
  if (operation.api && operation.api.parameterMacro) {
    return operation.api.parameterMacro(operation, parameter);
  } else {
    return parameter.defaultValue;
  }
}
function ( operation , parameter ) { // TODO the reference to operation.api is not available if ( operation . api && operation . api . parameterMacro ) { return operation . api . parameterMacro ( operation , parameter ) ; } else { return parameter . defaultValue ; } }
allows override of the default value based on the parameter being
supplied
allows override of the default value based on the parameter being supplied