- SuccessResponse<HeaderType>(name, description?, produces?): Function
Type Parameters
- HeaderType extends {} | "Header names must be of type string" | "Header values must be string or string[]" = {}
Parameters
- name: string | number
Optional
description: stringOptional
produces: string | string[]
Returns Function