gen/api15gen/api_analyzer.go
func (a *APIAnalyzer) AnalyzeAliases() {
	for from, to := range aliases {
		splits := strings.SplitN(from, "#", 2)
		fromResName := splits[0]
		fromActionName := splits[1]
		splits = strings.SplitN(to, "#", 2)
		toResName := splits[0]
		toActionName := splits[1]

		fromRes := a.rawResources[fromResName]
		fromAct := fromRes.(map[string]interface{})["methods"].(map[string]interface{})[fromActionName].(map[string]interface{})

		toRes := a.rawResources[toResName]
		toAct := toRes.(map[string]interface{})["methods"].(map[string]interface{})[toActionName].(map[string]interface{})
		fromAct["parameters"] = toAct["parameters"]
		fromAct["status_code"] = toAct["status_code"]
		fromAct["access_rules"] = toAct["access_rules"]
	}
}
func (a *APIAnalyzer) AnalyzeAliases() {
	for from, to := range aliases {
		splits := strings.SplitN(from, "#", 2)
		fromResName := splits[0]
		fromActionName := splits[1]
		splits = strings.SplitN(to, "#", 2)
		toResName := splits[0]
		toActionName := splits[1]

		fromRes := a.rawResources[fromResName]
		fromAct := fromRes.(map[string]interface{})["methods"].(map[string]interface{})[fromActionName].(map[string]interface{})

		toRes := a.rawResources[toResName]
		toAct := toRes.(map[string]interface{})["methods"].(map[string]interface{})[toActionName].(map[string]interface{})
		fromAct["parameters"] = toAct["parameters"]
		fromAct["status_code"] = toAct["status_code"]
		fromAct["access_rules"] = toAct["access_rules"]
	}
}
// AnalyzeAliases goes through the aliases and copies the details from original actions to the
// aliased actions. It skips the route field since we have the routes hard-coded in the
// ParseRoute function.