(
statusCode: number,
description: string,
modelCtor: Function & {prototype: T},
options?: JsonSchemaOptions<T>,
)
| 350 | } |
| 351 | |
| 352 | export function array<T extends Entity>( |
| 353 | statusCode: number, |
| 354 | description: string, |
| 355 | modelCtor: Function & {prototype: T}, |
| 356 | options?: JsonSchemaOptions<T>, |
| 357 | ) { |
| 358 | return response(statusCode, description, { |
| 359 | schema: { |
| 360 | type: 'array', |
| 361 | items: getModelSchemaRef(modelCtor, options), |
| 362 | }, |
| 363 | }); |
| 364 | } |
| 365 | } |
nothing calls this directly
no test coverage detected