Skip to content

Commit

Permalink
Merge pull request #3037 from blended-bram/patch-1
Browse files Browse the repository at this point in the history
Support `examples` field in `@ApiHeader`
  • Loading branch information
kamilmysliwiec authored Sep 17, 2024
2 parents 5cb058e + c7721d6 commit 00a6b80
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 00a6b80

Please sign in to comment.