code: func (a *APIDefinition) PathParams() *AttributeDefinition {
  	names := ExtractWildcards(a.BasePath)
  	obj := make(Object)
  	for _, n := range names {
  		obj[n] = a.Params.Type.ToObject()[n]
  	}
  	return &AttributeDefinition{Type: obj}
  }
docs: // PathParams returns the base path parameters of a.