code: func (a *ActionDefinition) PathParams() *AttributeDefinition {
  	obj := make(Object)
  	allParams := a.AllParams().Type.ToObject()
  	for _, r := range a.Routes {
  		for _, p := range r.Params() {
  			if _, ok := obj[p]; !ok {
  				obj[p] = allParams[p]
  			}
  		}
  	}
  	return &AttributeDefinition{Type: obj}
  }
docs: // PathParams returns the path parameters of the action across all its routes.