code: func GetResourceParams(r *raml.Resource) []string {
  	params := []string{}
  	return _getResourceParams(r, params)
  }
docs: // GetResourceParams get all params of a resource
  // examples:
  // /users  							  : no params
  // /users/{userId}					  : params 1 = userId
  // /users/{userId}/address/{addressId : params 1= userId, param 2= addressId