covenix / ReturnsOptions
Interface: ReturnsOptions
Defined in: src/decorators.ts:28
Options for Returns.
Properties
description?
optionaldescription?:string
Defined in: src/decorators.ts:35
Response description for the OpenAPI responses[status].description.
headers?
optionalheaders?:Record<string,ZodType<unknown,unknown,$ZodTypeInternals<unknown,unknown>>>
Defined in: src/decorators.ts:33
Response headers, keyed by header name → Zod schema. Documented in the OpenAPI responses[status].headers (not validated at runtime).
