Skip to content

Commit c7721d6

Browse files
committedAug 12, 2024·
fix: support examples field in @ApiHeader
1 parent 15ad2b6 commit c7721d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎lib/decorators/api-header.decorator.ts

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export function ApiHeader(
2525
in: 'header',
2626
description: options.description,
2727
required: options.required,
28+
examples: options.examples,
2829
schema: {
2930
type: 'string',
3031
...(options.schema || {})

0 commit comments

Comments
 (0)
Please sign in to comment.