code: function processProperties(swagger, properties, requiredProperties) {
    var result = {};
    for (var name in properties) {
      var property = properties[name];
      var descriptor = {
        propertyName: name.indexOf('-') === -1 ? name : `"${name}"`,
        propertyComments: toComments(property.description, 1),
        propertyRequired: requiredProperties.indexOf(name) >= 0,
        propertyType: propertyType(property),
      };
      result[name] = descriptor;
    }
    return result;
  }
docs: Process each property for the given properties object, returning an object
  keyed by property name with simplified property types