* 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: 'na
(...params)
| 258 | * @see {@link module:core/base-service/openapi~pathParam} |
| 259 | */ |
| 260 | function pathParams(...params) { |
| 261 | return params.map(param => pathParam(param)) |
| 262 | } |
| 263 | |
| 264 | /** |
| 265 | * Helper function for assembling an OpenAPI query parameter object |
no test coverage detected