From c7721d64879a0260ad277fb70667db41b1411a67 Mon Sep 17 00:00:00 2001 From: Blended Bram Date: Mon, 12 Aug 2024 15:00:26 +0200 Subject: [PATCH] fix: support `examples` field in `@ApiHeader` --- lib/decorators/api-header.decorator.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/decorators/api-header.decorator.ts b/lib/decorators/api-header.decorator.ts index e16e058dc..535026ac9 100644 --- a/lib/decorators/api-header.decorator.ts +++ b/lib/decorators/api-header.decorator.ts @@ -25,6 +25,7 @@ export function ApiHeader( in: 'header', description: options.description, required: options.required, + examples: options.examples, schema: { type: 'string', ...(options.schema || {})