src/main/options-normalizer.js/normalizeApiOptions
function normalizeApiOptions(options, optionInfos, opts) {
  return normalizeOptions(
    options,
    optionInfos,
    Object.assign({ descriptor: descriptors.apiDescriptor }, opts)
  );
}