Skip to content

Commit

Permalink
fix: support examples field in @ApiHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
blended-bram committed Aug 12, 2024
1 parent 15ad2b6 commit c7721d6
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 c7721d6

Please sign in to comment.