function pathParams(...params) {
  return params.map(param => pathParam(param))
}
Helper function for assembling an array of OpenAPI path parameter objects
The code
```
const params = pathParams(
  { name: 'name1', example: 'example1' },
  { name: 'name2', example: 'example2' },
)
```
is equivalent to
```
const params = [
  pathParam({ name: 'name1', example: 'example1' }),
  pathParam({ name: 'name2', example: 'example2' }),
]
```

@param {...module:core/base-service/openapi~PathParamInput} params Input params
@returns {Array.<module:core/base-service/openapi~OpenApiParam>} Array of OpenAPI Parameter Objects
@see {@link module:core/base-service/openapi~pathParam}