code: func (bp *BodiesProperty) normalizeArray() {
  	// `type` and `items` can't be nil
  	if bp.Type == nil || bp.Items == nil {
  		return
  	}
  
  	// make sure `type` value = 'array'
  	typeStr, ok := bp.Type.(string)
  	if !ok && typeStr != arrayType {
  		return
  	}
  
  	// check items value
  	switch item := bp.Items.(type) {
  	case string:
  		bp.Type = item + "[]"
  		bp.Items = nil
  	case map[interface{}]interface{}:
  		tip, ok := item["type"].(string)
  		if !ok {
  			return
  		}
  		bp.Type = tip + "[]"
  		delete(item, "type")
  		bp.Items = item
  	}
  }
docs: // change this form
  // type: array
  // items:
  //   type: something
  //
  // to this form
  // type: something[]