Skip to content

Commit

Permalink
Support examples field in @ApiHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
blended-bram authored Aug 12, 2024
1 parent 15ad2b6 commit 2a85a13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/decorators/api-header.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function ApiHeader(
in: 'header',
description: options.description,
required: options.required,
examples: options.examples,
schema: {
type: 'string',
...(options.schema || {})
Expand Down

0 comments on commit 2a85a13

Please sign in to comment.