Skip to content

Commit

Permalink
Merge pull request #2774 from alenap93/2771
Browse files Browse the repository at this point in the history
fix(): ApiHeader has 'type: String' as default
  • Loading branch information
kamilmysliwiec authored Jan 15, 2024
2 parents 1fb1995 + 4f1681a commit 1d50385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/decorators/api-header.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export function ApiHeader(
description: options.description,
required: options.required,
schema: {
...(options.schema || {}),
type: 'string'
type: 'string',
...(options.schema || {})
}
},
negate(isUndefined)
Expand Down

0 comments on commit 1d50385

Please sign in to comment.